Class GuidExtension
- Namespace
- TimeCockpit.Data
- Assembly
- TimeCockpit.Data.dll
Defines extension methods for the Guid class
public static class GuidExtension
- Inheritance
-
ObjectGuidExtension
- Inherited Members
-
Object.ToString()Object.Equals(Object)Object.Equals(Object, Object)Object.ReferenceEquals(Object, Object)Object.GetHashCode()Object.GetType()Object.MemberwiseClone()
Methods
ToBase64String(Guid)
Converts a guid into a 22 character long base64 encoded string
public static string ToBase64String(this Guid value)
Parameters
valueGuidGuid that should be converted
Returns
- String
Base64 encoded string representation of the guid.
Remarks
Note that "/" has been replaced by "-", "+" has been replaced by "_" and "=" characters have been removed.