Click or drag to resize
RemoteSessionValidation Class
Attempts to determine whether or not the application is running in a known type of remote session. See the RemoteSessionValidationRemoteSessionTypes enumeration for a list of supported session types.
Inheritance Hierarchy
SystemObject
  com.softwarekey.Client.LicensingSystemValidation
    com.softwarekey.Client.LicensingRemoteSessionValidation

Namespace: com.softwarekey.Client.Licensing
Assembly: PLUSManaged (in PLUSManaged.dll) Version: 5.23.4.0
Syntax
public class RemoteSessionValidation : SystemValidation

The RemoteSessionValidation type exposes the following members.

Constructors
  NameDescription
Public methodRemoteSessionValidation
Initializes a new instance of the RemoteSessionValidation class
Top
Properties
  NameDescription
Public propertyIsRemoteSession
Gets whether the protected application is running in a remote session. (This property should only be referenced after calling the Validate method once.)
Public propertyLastError
Gets or sets the last error encountered in this object.
(Inherited from SystemValidation.)
Public propertyType
Gets the type of remote session on which the protected application is running. (This property should only be referenced after calling the Validate method once.)
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodValidate
Determines if the protected application is running in a remote session via something like Terminal Services/Remote Desktop.
(Overrides SystemValidationValidate.)
Top
Remarks
Presently, this class only detects if an application is running in a Terminal Services/Remote Desktop session.
Caution note Caution

The RemoteSessionValidation class is not available in the .NET Standard PLUSManaged assembly.

See Also