This method sets a custom (user defined) PcID.

[Visual Basic] Public Function SetPcIDofPassword(ByVal pcID As String) As Boolean
[C#] public bool SetPcIDofPassword(string pcID);

Parameters

pcID
     The PcID to be set

Return Value

Returns the true if successful, otherwise returns false.

Explanation

The SetPcIDofPassword method sets a custom (user defined) PcID. Use this method if you do not want to use the PcID generated by the QueryPcID method. This method is disabled if a valid password has already been set.

The Initialize method must be executed before executing the SetPcIDofPassword method. If the Initialize method has not been successfully executed, the SetPcIDofPassword method is disabled.

Also See

PasswordProtect Members | Newtone.ProtectKit.Win.PasswordProtect