Click or drag to resize

ActiveDriveMount Method

IT Hit WebDAV Classes Reference
Mounts drive to local file system.

Namespace:  ITHit.MapWebDAVDrive.Core
Assembly:  ITHit.MapWebDAVDrive.Core (in ITHit.MapWebDAVDrive.Core.dll) Version: 1.3.997.0 (1.3.997.0)
Syntax
public void Mount()
Examples
The following example demonstrates how to install file system driver, reboot computer, set license and mount a new WebDAV drive using IT Hit Map WebDAV Drive Core API.
using ITHit.MapWebDAVDrive.Core;
...
Management.InstallDriver("MyDriveMappingAppID");
System.Diagnostics.Process.Start("ShutDown", "/r /t 0");
...
string license = @"<?xml version='1.0' ...
Management.SetLicense(license);
...
ActiveDrive drive = new ActiveDrive('z', new Uri("http://dav.webdavsystem.com"), "User1", "pwd");
drive.Mount();
See Also