Click or drag to resize

IDriveServiceManagerAddDrive Method

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

Namespace:  ITHit.MapWebDAVDrive.ServiceClient
Assembly:  ITHit.MapWebDAVDrive.ServiceClient (in ITHit.MapWebDAVDrive.ServiceClient.dll) Version: 1.3.997.0 (1.3.997.0)
Syntax
void AddDrive(
	DriveSettings drive
)

Parameters

drive
Type: ITHit.MapWebDAVDrive.CoreDriveSettings
Instance of the DriveSettings class that represents drive to be mounted.
Examples
The following example demonstrates how to mount a new WebDAV drive using Service API.
DriveSettings driveSettings = new DriveSettings('z', new Uri("http://dav.webdavsystem.com/"), "User1", "pwd");
IDriveServiceManager manager = DriveManager.GetManager();
manager.AddDrive(driveSettings);
See Also