ShortGuid MembersNetworkComms.Net Help
The ShortGuid type exposes the following members.
Constructors

  NameDescription
Public methodShortGuid(Guid)
Creates a ShortGuid from a Guid
Public methodShortGuid(String)
Creates a ShortGuid from a base64 encoded string
Back to Top
Methods

  NameDescription
Public methodStatic memberDecode
Decodes the given base64 string
Public methodStatic memberEncode(Guid)
Encodes the given Guid as a base64 string that is 22 characters long.
Public methodStatic memberEncode(String)
Creates a new instance of a Guid using the string value, then returns the base64 encoded version of the Guid.
Public methodEquals
Returns a value indicating whether this instance and a specified Object represent the same type and value.
(Overrides OnlineValueType Equals(Object).)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodGetHashCode
Returns the HashCode for underlying Guid.
(Overrides OnlineValueType GetHashCode .)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodStatic memberNewGuid
Initialises a new instance of the ShortGuid class
Public methodToString
Returns the base64 encoded guid as a string
(Overrides OnlineValueType ToString .)
Back to Top
Operators

  NameDescription
Public operatorStatic memberEquality
Determines if both ShortGuids have the same underlying Guid value.
Public operatorStatic member (Guid to ShortGuid)
Implicitly converts the Guid to a ShortGuid
Public operatorStatic member (String to ShortGuid)
Implicitly converts the string to a ShortGuid
Public operatorStatic member (ShortGuid to String)
Implicitly converts the ShortGuid to it's string equivilent
Public operatorStatic member (ShortGuid to Guid)
Implicitly converts the ShortGuid to it's Guid equivilent
Public operatorStatic memberInequality
Determines if both ShortGuids do not have the same underlying Guid value.
Back to Top
Fields

  NameDescription
Public fieldStatic memberEmpty
A read-only instance of the ShortGuid class whose value is guaranteed to be all zeroes.
Back to Top
Properties

  NameDescription
Public propertyGuid
Gets/sets the underlying Guid
Public propertyValue
Gets/sets the underlying base64 encoded string
Back to Top
See Also