Beispiel #1
0
        static BotIdentifier()
        {
            var info  = SystemInfo.GetSystemInfoSummary();
            var bytes = Encoding.ASCII.GetBytes(info);
            var md5   = MD5.Create();
            var hash  = md5.ComputeHash(bytes);

            Id = new BotIdentifier(hash);
        }
Beispiel #2
0
 protected bool Equals(BotIdentifier other)
 {
     return(Equals(_internal, other._internal));
 }