ImDiskAPICreateMountPoint Method (String, String) |
An easy way to turn an empty NTFS directory to a reparsepoint that redirects
requests to a mounted device. Acts quite like mount points or symbolic links
in *nix. If MountPoint specifies a character followed by a colon, a drive
letter is instead created to point to Target.
Namespace: LTR.IO.ImDiskAssembly: ImDiskNet (in ImDiskNet.dll) Version: 1.0.0.0 (1.0.007.0)
Syntax public static void CreateMountPoint(
string Directory,
string Target
)
Public Shared Sub CreateMountPoint (
Directory As String,
Target As String
)
public:
static void CreateMountPoint(
String^ Directory,
String^ Target
)
static member CreateMountPoint :
Directory : string *
Target : string -> unit
Parameters
- Directory
- Type: SystemString
Path to empty directory on an NTFS volume, or a drive letter
followed by a colon. - Target
- Type: SystemString
Target path in native format, for example \Device\ImDisk0
See Also