Class ClientInfo
This class provides detailed information about cache client.
Inheritance
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
public class ClientInfo : ICloneable, ICompactSerializable
Properties
| Name | Description |
|---|---|
| AppName | Application's name. |
| ClientID | ClientID is a unique id. |
| ClientVersion | Version of NCache client. |
| FromClientCache | |
| IPAddress | IPAddress of the cache client. |
| IsDotNetCore | |
| LogicalCores | Available logical cores of Cache Client |
| MacAddress | Mac Address of cache client |
| MachineName | Name of the machine the client is running on. |
| Memory | |
| OperationSystem | |
| PhysicalCores | Available physical cores of Cache Client |
| ProcessID | Process ID of the cache client. |
| Status | ConnectivityStatus |
Methods
| Name | Description |
|---|---|
| Clone() | Clones the object and returns the newly created clone of the object. |
| Deserialize(CompactReader) | Deserializes the Compact reader object passed to it |
| GetLegacyClientID(ClientInfo) | GetLegacyClientId returns the client id in string. |
| Serialize(CompactWriter) | Serializes the CompactWriter object |
| ToString() | Converts Client Info to string , contains client id , Application name ,Process id , machine name and address. |
| TryParseLegacyClientID(String) | TryParseLegacyClientId parse the Client id and get information about the client id in the form of ClientInfo |