Provides data for the CheckVersion event.
For a list of all members of this type, see VGCheckVersionEventArgs Members.
System.Object
EventArgs
VGCheckVersionEventArgs
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
This example display how to use the event CheckVersion to allow the user select a roles in the list of granted roles.
[Visual Basic]
Private Sub OnCheckVersion(ByVal sender As Object, ByVal e As VGCheckVersionEventArgs)
If e.Version < new Version(1,2,0,0) Then
e.Cancel = true
End If
End Sub
[C#]
private void OnCheckVersion (object sender, VGCheckVersionEventArgs args)
{
if (e.Version < new Version(1,2,0,0))
{
e.Cancel = true
}
}
Namespace: Novalys.VisualGuard.Security
Assembly: Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll)
VGCheckVersionEventArgs Members | Novalys.VisualGuard.Security Namespace