Creates a new instance of VGSecurityRuntime based on an existing runtime and specifies the application managed by the new runtime.

Namespace: Novalys.VisualGuard.Security
Assembly: Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 2016.0.105.16 (2016.0.105.16)

Syntax

C#
public VGSecurityRuntime(
	VGSecurityRuntime runtime,
	Guid appId
)
Visual Basic
Public Sub New ( 
	runtime As VGSecurityRuntime,
	appId As Guid
)

Parameters

runtime
Type: Novalys.VisualGuard.Security..::..VGSecurityRuntime
the runtime used as source.
appId
Type: System..::..Guid
the id of the application.

Remarks

This method allows to create a new instance of a runtime that will access to the same repository as the original runtime but will load the security for the application identified by the specified id. Visual Guard will use the same settings as the original runtime and it will use the same cache to store the information loaded from the repository.

See Also