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.311-beta
Syntax
public class ClientInfo
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.
Top
Properties
 NameDescription
Public propertyBinaryLength Gets the length of the binary image when the ClientInfo is converted into raw binary data.
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 methodStatic memberDeserialize Creates an instance of ClientInfo from raw binary data.
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 methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodSerialize Converts this ClientInfo instance into raw binary data.
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
See Also