ActiveDrive Class

IT Hit WebDAV for .NET

Represents WebDAV drive mounted to the local file system.

For a list of all members of this type, see ActiveDrive Members.

System.Object
   ITHit.MapWebDAVDrive.Core.DriveSettings
      ITHit.MapWebDAVDrive.Core.ActiveDrive

[Visual Basic]
Public Class ActiveDrive
    Inherits DriveSettings
[C#]
public class ActiveDrive : DriveSettings

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

Initially the drive is not mounted to the file system. To mount the drive call Mount method. To unmount the drive call Unmount.

Example

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();
        
      

Requirements

Namespace: ITHit.MapWebDAVDrive.Core

Assembly: ITHit.MapWebDAVDrive.Core (in ITHit.MapWebDAVDrive.Core.dll)

See Also

ActiveDrive Members | ITHit.MapWebDAVDrive.Core Namespace