BasicNoUIObjSecret Property |
Gets or sets the secret.
Namespace: WinWrap.Basic.ServerAssembly: WinWrap.Basic.Server (in WinWrap.Basic.Server.dll)
Syntaxpublic Guid Secret { get; set; }
Public Property Secret As Guid
Get
Set
public:
virtual property Guid Secret {
Guid get () sealed;
void set (Guid value) sealed;
}
Property Value
Guid
The secret.
Implements
IBasicNoUISecret
Remarks
Use your Application/Server certificate's secret.
Refer to your Application/Server cerificate on your
Certificates page.
The secret is used during an Initialize call.
Failure to set the Secret property prior to creation will prevent the
object/component from initializing on non-development machines.
{00000000-0000-0000-0000-000000000000} can be used on systems which have
the WinWrap Basic development software installed.
Do not use this special secret for software that you
ship to your customers, because it won't work.
Example
BasicNoUIObj.Secret = new Guid("{00000000-0000-0000-0000-000000000000}");
BasicNoUIObj.Initialize();
' replace with your Application/Server certificate's secret
BasicNoUIObj.Secret = New Guid("{00000000-0000-0000-0000-000000000000}")
BasicNoUIObj.Initialize()
BasicNoUIObj.Secret = new Guid("{00000000-0000-0000-0000-000000000000}");
BasicNoUIObj.Initialize();
See Also