Mono Class Library: Mono.Unix.UnixFileSystemInfo Overview | MembersMono.Unix.UnixFileSystemInfo.CreateLink Method |
Creates a hard link so that UnixFileSystemInfo.FullName and path are the same file. [Edit]
|
- path
- [Edit]
A Mono.Unix.UnixFileSystemInfo instance which represents path. [Edit]
The path argument is permitted to specify relative or absolute path information. Relative path information is interpreted as relative to the current working directory.
Note: To obtain the current working directory, see UnixDirectoryInfo.GetCurrentDirectory.After creating the link, the link count UnixFileSystemInfo.LinkCount will be incremented, and there will be no way to distinguish the two files -- they're the same file with two (or more) different names.
[Edit]
Namespace: Mono.Unix
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0