#ViewingCert Comment

Syntax
'#ViewingCert certkey ["prompt" [passphrase]]
Group
Declaration
Description
Alert: This comment is only available for use by WinWrap Basic developers.

The ViewingCert comment indicates that viewing the current macro/module is protected with a Permission certificate.

Projects: A '#ViewingCert comment in a project's module is ignored. The project itself contains the '#ViewingCert comment for all the modules in the project.
The passphrase for Permission certificate 00000004 is "eval-perm". This certificate can only be used from WinWrap Director.
Parameters Description
certkey This Permission certificate provides the passphrase for viewing. A successfully entered passphrase is cached for 5 minutes.
prompt This text is used as the prompt when requesting the passphrase. If omitted the certificate's prompt is used.
passphrase The remainder of the comment text is used as the initial passphrase during the confirmation process.

'#ViewingCert 00000004 "WinWrap Director Script Protection"
Sub Main
End Sub