• Facebook
  • Twitter
  • Youtube
  • LinedIn
  • RSS
  • Docs
  • Comparisons
  • Blogs
  • Download
  • Contact Us
Download
Show / Hide Table of Contents

Class ClientInfo

This class provides detailed information about cache client.

Inheritance
System.Object
ClientInfo
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
public class ClientInfo : ICloneable, ICompactSerializable

Properties

AppName

Application's name.

Declaration
public string AppName { get; set; }
Property Value
Type Description
System.String

ClientID

ClientID is a unique id.

Declaration
public string ClientID { get; set; }
Property Value
Type Description
System.String

ClientVersion

Version of NCache client.

Declaration
public int ClientVersion { get; }
Property Value
Type Description
System.Int32

IPAddress

IPAddress of the cache client.

Declaration
public IPAddress IPAddress { get; set; }
Property Value
Type Description
System.Net.IPAddress

IsDotNetCore

Declaration
public bool IsDotNetCore { get; }
Property Value
Type Description
System.Boolean

LogicalCores

Available logical cores of Cache Client

Declaration
public int LogicalCores { get; set; }
Property Value
Type Description
System.Int32

MacAddress

Mac Address of cache client

Declaration
public string MacAddress { get; set; }
Property Value
Type Description
System.String

MachineName

Name of the machine the client is running on.

Declaration
public string MachineName { get; set; }
Property Value
Type Description
System.String

Memory

Declaration
public int Memory { get; }
Property Value
Type Description
System.Int32

OperationSystem

Declaration
public string OperationSystem { get; }
Property Value
Type Description
System.String

PhysicalCores

Available physical cores of Cache Client

Declaration
public int PhysicalCores { get; set; }
Property Value
Type Description
System.Int32

ProcessID

Process ID of the cache client.

Declaration
public int ProcessID { get; set; }
Property Value
Type Description
System.Int32

Status

ConnectivityStatus
Declaration
public ConnectivityStatus Status { get; set; }
Property Value
Type Description
ConnectivityStatus

Methods

Clone()

Clones the object and returns the newly created clone of the object.

Declaration
public object Clone()
Returns
Type Description
System.Object

The newly cloned ClientInfo object

Deserialize(CompactReader)

Deserializes the Compact reader object passed to it

Declaration
public void Deserialize(CompactReader reader)
Parameters
Type Name Description
CompactReader reader CompactReader
Implements
ICompactSerializable.Deserialize(CompactReader)

GetLegacyClientID(ClientInfo)

GetLegacyClientId returns the client id in string.

Declaration
public static string GetLegacyClientID(ClientInfo info)
Parameters
Type Name Description
ClientInfo info ClientInfo
Returns
Type Description
System.String

Client id of the client

Serialize(CompactWriter)

Serializes the CompactWriter object

Declaration
public void Serialize(CompactWriter writer)
Parameters
Type Name Description
CompactWriter writer CompactWriter
Implements
ICompactSerializable.Serialize(CompactWriter)

ToString()

Converts Client Info to string , contains client id , Application name ,Process id , machine name and address.

Declaration
public override string ToString()
Returns
Type Description
System.String

ClientInfo in string form

Overrides
System.Object.ToString()

TryParseLegacyClientID(String)

TryParseLegacyClientId parse the Client id and get information about the client id in the form of ClientInfo

Declaration
public static ClientInfo TryParseLegacyClientID(string clientId)
Parameters
Type Name Description
System.String clientId

Client id of the client

Returns
Type Description
ClientInfo ClientInfo

Contact Us

PHONE

+1 (214) 764-6933   (US)

+44 20 7993 8327   (UK)

 
EMAIL

sales@alachisoft.com

support@alachisoft.com

NCache
  • NCache Enterprise
  • NCache Community
  • Edition Comparison
  • NCache Architecture
  • Benchmarks
Download
Pricing
Try Playground

Deployments
  • Cloud (SaaS & Software)
  • On-Premises
  • Kubernetes
  • Docker
Technical Use Cases
  • ASP.NET Sessions
  • ASP.NET Core Sessions
  • Pub/Sub Messaging
  • Real-Time ASP.NET SignalR
  • Internet of Things (IoT)
  • NoSQL Database
  • Stream Processing
  • Microservices
Resources
  • Magazine Articles
  • Third-Party Articles
  • Articles
  • Videos
  • Whitepapers
  • Shows
  • Talks
  • Blogs
  • Docs
Customer Case Studies
  • Testimonials
  • Customers
Support
  • Schedule a Demo
  • Forum (Google Groups)
  • Tips
Company
  • Leadership
  • Partners
  • News
  • Events
  • Careers
Contact Us

  • EnglishChinese (Simplified)FrenchGermanItalianJapaneseKoreanPortugueseSpanish

  • Contact Us
  •  
  • Sitemap
  •  
  • Terms of Use
  •  
  • Privacy Policy
© Copyright Alachisoft 2002 - . All rights reserved. NCache is a registered trademark of Diyatech Corp.
Back to top