Plegma API  v2
Yodiwo.API.Plegma.NodeKey Struct Reference

Globally unique identifier of a Yodiwo.API.Plegma.NodeKey More...

Inheritance diagram for Yodiwo.API.Plegma.NodeKey:

Public Member Functions

 NodeKey (string userId, uint nodeId)
 
 NodeKey (UserKey userKey, uint nodeId)
 
 NodeKey (string str)
 
void FillFromString (string input)
 
override string ToString ()
 
string ToStringFullSize ()
 like ToString() but fills digits with leading zeros More...
 
void GetBytes (byte[] bytes, int index)
 write the key to a byte array More...
 
string ToStringEx ()
 User-Friendly string (invalid as key) More...
 
bool Equals (NodeKey other)
 
bool Equals (ref NodeKey other)
 
override bool Equals (object obj)
 
override int GetHashCode ()
 

Static Public Member Functions

static bool CheckValid (UserKey key, uint id)
 
static implicit operator NodeKey (string str)
 
static implicit operator string (NodeKey key)
 
static NodeKey ConvertFromString (string stringValue)
 
static NodeKey FromBytes (byte[] bytes, int index)
 get key from byte array More...
 
static bool operator== (NodeKey left, NodeKey right)
 
static bool operator!= (NodeKey left, NodeKey right)
 

Public Attributes

UserKey UserKey
 
uint NodeID
 
bool _IsValid
 
const int MinNodeIDLength = 1
 
const int MaxNodeIDLength = 10
 
const int MinKeyLength = UserKey.MinKeyLength + 1 + MinNodeIDLength
 
const int MaxKeyLength = UserKey.MaxKeyLength + 1 + MaxNodeIDLength
 
const int CloudId = int.MaxValue
 

Properties

bool IsValid [get]
 
bool IsInvalid [get]
 
bool IsVirtual [get]
 

Detailed Description

Globally unique identifier of a Yodiwo.API.Plegma.NodeKey

Member Function Documentation

static NodeKey Yodiwo.API.Plegma.NodeKey.FromBytes ( byte[]  bytes,
int  index 
)
static

get key from byte array

void Yodiwo.API.Plegma.NodeKey.GetBytes ( byte[]  bytes,
int  index 
)

write the key to a byte array

string Yodiwo.API.Plegma.NodeKey.ToStringEx ( )

User-Friendly string (invalid as key)

string Yodiwo.API.Plegma.NodeKey.ToStringFullSize ( )

like ToString() but fills digits with leading zeros


The documentation for this struct was generated from the following file: