コード例 #1
0
 public static string FromGuid(Guid guid)
 {
     return(BaseConverter.Convert(number: guid.ToString(format: "N"), fromBase: 16, toBase: 36));
 }
コード例 #2
0
 public static string FromInt64(long int64)
 {
     return(BaseConverter.Convert(number: int64.ToString(provider: CultureInfo.InvariantCulture), fromBase: 10, toBase: 36));
 }
コード例 #3
0
 public static string FromHex(string hex)
 {
     return(BaseConverter.Convert(number: hex.ToUpper().Replace(oldValue: "-", newValue: ""), fromBase: 16, toBase: 36));
 }