Show / Hide Table of Contents

Class ZitiIdentity

Inheritance
System.Object
ZitiIdentity
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: OpenZiti
Assembly: Ziti.NET.Standard.dll
Syntax
public class ZitiIdentity

Constructors

| Improve this Doc View Source

ZitiIdentity(ZitiIdentity.InitOptions)

Declaration
public ZitiIdentity(ZitiIdentity.InitOptions opts)
Parameters
Type Name Description
ZitiIdentity.InitOptions opts

Properties

| Improve this Doc View Source

ApplicationContext

Declaration
public object ApplicationContext { get; }
Property Value
Type Description
System.Object
| Improve this Doc View Source

ConfigFilePath

Declaration
public string ConfigFilePath { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ControllerConnected

Declaration
public bool ControllerConnected { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

ControllerURL

Declaration
public string ControllerURL { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ControllerVersion

Declaration
public string ControllerVersion { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

IdentityNameFromController

Declaration
public string IdentityNameFromController { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

InitOpts

Declaration
public ZitiIdentity.InitOptions InitOpts { get; }
Property Value
Type Description
ZitiIdentity.InitOptions
| Improve this Doc View Source

InitStats

Declaration
public ZitiStatus InitStats { get; }
Property Value
Type Description
ZitiStatus
| Improve this Doc View Source

InitStatusError

Declaration
public string InitStatusError { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

IsRunning

Declaration
public bool IsRunning { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Loop

Declaration
public UVLoop Loop { get; set; }
Property Value
Type Description
UVLoop

Methods

| Improve this Doc View Source

Configure(Int32)

Declaration
public void Configure(int refreshInterval)
Parameters
Type Name Description
System.Int32 refreshInterval
| Improve this Doc View Source

GetService(String)

Declaration
public ZitiService GetService(string serviceName)
Parameters
Type Name Description
System.String serviceName
Returns
Type Description
ZitiService
| Improve this Doc View Source

InitializeAndRun()

Initializes this identity with the NetFoundry network

Declaration
public void InitializeAndRun()
Exceptions
Type Condition
System.Exception

Thrown when the path to the configuration file no longer exists or if the provided identity file is not valid

| Improve this Doc View Source

NewConnection(String)

Declaration
public ZitiConnection NewConnection(string serviceName)
Parameters
Type Name Description
System.String serviceName
Returns
Type Description
ZitiConnection
| Improve this Doc View Source

Run()

Declaration
public void Run()
| Improve this Doc View Source

Run(Int32)

Declaration
public void Run(int refreshInterval)
Parameters
Type Name Description
System.Int32 refreshInterval
| Improve this Doc View Source

RunAsync()

Declaration
public async Task RunAsync()
Returns
Type Description
System.Threading.Tasks.Task
| Improve this Doc View Source

RunAsync(Int32)

Declaration
public async Task RunAsync(int refreshInterval)
Parameters
Type Name Description
System.Int32 refreshInterval
Returns
Type Description
System.Threading.Tasks.Task
| Improve this Doc View Source

ServiceAvailable(String)

Determines if the provided serviceName is available for this identity

Declaration
public bool ServiceAvailable(string serviceName)
Parameters
Type Name Description
System.String serviceName

The service name to verify

Returns
Type Description
System.Boolean

If the service exists - true, false if not

| Improve this Doc View Source

Shutdown()

Declaration
public void Shutdown()
| Improve this Doc View Source

Stop()

Declaration
public void Stop()
| Improve this Doc View Source

WaitForServices()

Declaration
public async Task WaitForServices()
Returns
Type Description
System.Threading.Tasks.Task
| Improve this Doc View Source

WaitSync()

Declaration
public void WaitSync()
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX