Beispiel #1
0
 private void SetProperties(uint serialno, string emotetName, CheckInfoSource source, string location)
 {
     VolumeSerialNumber = serialno;
     Source             = source;
     EmotetProcessName  = emotetName;
     Location           = location;
     MD5Hash            = Crypto.MD5Hash(UniqueKey);
     SystemInfo         = new SystemInfo(this);
 }
Beispiel #2
0
 private void AddEmoProcessNameIfNotExistInList(string processName, CheckInfoSource source, string location = "")
 {
     if (!string.IsNullOrWhiteSpace(processName))
     {
         var checkInfo = new Entity.CheckInfo(_SerialNo, processName, source, location);
         if (!EmoProcessNameDictionary.ContainsKey(checkInfo.UID))
         {
             EmoProcessNameDictionary.Add(checkInfo.UID, checkInfo);
         }
     }
 }
Beispiel #3
0
 public CheckInfo(uint serialno, string emotetName, CheckInfoSource source, string location)
 {
     SetProperties(serialno, emotetName, source, location);
 }
Beispiel #4
0
 public CheckInfo(string emotetName, CheckInfoSource source, string location)
 {
     SetProperties(0, emotetName, source, location);
 }