IDriveServiceManager.SetLicense Method 

IT Hit WebDAV for .NET

Sets IT Hit Map WebDAV Drive license.

[Visual Basic]
Sub SetLicense( _
   ByVal license As String _
)
[C#]
void SetLicense(
   string license
);

Parameters

license
License text.

Remarks

Note that license is required to be set only one time before first API use.

Exceptions

Exception Type Condition
InvalidLicenseException The license is invalid.

Example

The following example demonstrates how to set license for IT Hit Map WebDAV Drive using Service API.

                
string license = "<?xml version='1.0' encoding='utf...
IDriveServiceManager manager = DriveManager.GetManager();
manager.SetLicense(license);
                
            

See Also

IDriveServiceManager Interface | ITHit.MapWebDAVDrive.ServiceClient Namespace