Creates a new instance of the VGSecurityRuntime class and initializes a connection to a repository based on files.
A new instance of the VGSecurityRuntime class
this method requires to deploy the assembly "Novalys.VisualGuard.Security.File.dll" with your application.
Exception Type | Condition |
---|---|
ArgumentNullException | repositoryName or repositoryPath is null (Nothing). |
ArgumentException |
repositoryName is an empty string. - or- supportedAuthenticationModes is equal to None or indicates that database authentication mode is supported. |
ArgumentOutOfRangeException | cacheDuration is negative. |
VGSecurityRuntime Class | Novalys.VisualGuard.Security Namespace | VGSecurityRuntime.CreateRuntimeForFile Overload List