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

Class CacheConnection

Instance of this class can be used to define the parameters to establish a connection with the cache.

Inheritance
System.Object
CacheConnection
Assembly: Alachisoft.NCache.Client.dll
Syntax
public class CacheConnection : ICloneable

Constructors

CacheConnection(String, Int32)

Initializes new instance of CacheConnection.

Declaration
public CacheConnection(string server = null, int port = 8250)
Parameters
Type Name Description
System.String server

Specifies the name of server on which the cache is running.

System.Int32 port

Specifies the port of server on which the cache is running.

Properties

Port

Port of server on which the cache is running.

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

Specifies the port of server on which the cache is running.

Server

Name of server on which the cache is running.

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

Specifies the name of server on which the cache is running.

UserCredentials

Gets/Sets Credentials of the cache for authorization.

Declaration
public Credentials UserCredentials { get; set; }
Property Value
Type Description
Credentials

This property provides the security parameters for authorization.

Methods

Clone()

Creates a new object that is a copy of the current instance.

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

A new object that is a copy of this instance.

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