Click or drag to resize

ClientInfo Class

Represents information about a client using ClientHelper for connecting to a Windows Service that uses ServiceHelper.
Inheritance Hierarchy
SystemObject
  GSF.ServiceProcessClientInfo

Namespace: GSF.ServiceProcess
Assembly: GSF.ServiceProcess (in GSF.ServiceProcess.dll) Version: 2.4.181-beta
Syntax
[SerializableAttribute]
public class ClientInfo : ISerializable
View Source

The ClientInfo type exposes the following members.

Constructors
 NameDescription
Public methodClientInfo Initializes a new instance of the ClientInfo class.
Public methodClientInfo(ClientHelper) Initializes a new instance of the ClientInfo class.
Protected methodClientInfo(SerializationInfo, StreamingContext) Creates a new ClientInfo from serialization parameters.
Top
Properties
 NameDescription
Public propertyClientID Gets the identifier of the remote client application.
Public propertyClientName Gets the friendly name of the remote client application.
Public propertyClientPassword Gets the password portion of the credentials supplied by the client.
Public propertyClientType Gets the ApplicationType of the remote client application.
Public propertyClientUser Gets the IPrincipal of the remote client application's user.
Public propertyClientUserCredentials Gets the credentials in 'username:password' format for authenticating the remote client application's user if a valid ClientUser is not available.
Public propertyClientUsername Gets the username portion of the credentials supplied by the client.
Public propertyConnectedAt Gets or sets the DateTime when the remote client application connected to the ServiceHelper.
Public propertyMachineName Gets the name of the machine running the remote client application.
Public propertySecureClientPassword Gets the ClientPassword in a SecureString.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetObjectData Populates a SerializationInfo with the data needed to serialize the target object.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodSetClientUser Updates the ClientUser.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
Remarks
ClientInfo can be serialized and deserialized using BinaryFormatter only.
See Also