SocketTools .NET Edition

DnsClient.Initialize Method (String)

Initializes the component with the specified runtime license key.

[Visual Basic]
Overloads Public Function Initialize( _
   ByVal licenseKey As String _
) As Boolean
[C#]
public bool Initialize(
   string licenseKey
);

Parameters

licenseKey
A string which specifies the runtime license key.

Return Value

A boolean value which specifies if the component was initialized successfully with the runtime license key. A return value of False indicates that the license key is not valid.

Remarks

The Initialize method is used to explicitly initialize the component with a runtime license key, if one has not been specified using the RuntimeLicense attribute.

The runtime license key for your copy of SocketTools can be generated using the License Manager utility that is included with the product. Note that if you have installed an evaluation license, you will not have a runtime license key and cannot redistribute any applications which use SocketTools components.

See Also

DnsClient Class | SocketTools Namespace | DnsClient.Initialize Overload List | RuntimeLicenseAttribute Class | Uninitialize Method