This method retrieves the PC's network card information.

[Visual Basic] Public Function QueryNicAddressID() As String
[C#] public string QueryNicAddressID();

Return Value

Returns the Mac address as a string if successful, otherwise returns String.Empty.

Explanation

The QueryNicAddressID method retrieves the PC's network card information. The Initialize method must be executed before executing the QueryNicAddressID method. If the Initialize method has not been successfully executed, the QueryNicAddressID method is disabled.

After the QueryNicAddressID method is successfully executed, the Mac address is returned as a string value. Other retrieved information will be set into the VendorID property, the VendorName property, and the DeviceID property

IMPORTANT: When executing this method on a PC that has 4 or more network cards installed, the retrieved network card information may not be consistant. (When NetworkCard is included in the PC Identifiers). After the application has been unlocked, if it is uninstalled and reinstalled, there is a possiblity that the old password may be able to unlock the application.

Also See

PasswordProtect Members | Newtone.ProtectKit.Win.PasswordProtect