Exemple #1
0
 public void Start()
 {
     this.SessionID    = new Random().Next().ToString();
     this.localInfo    = new LocalInfo();
     this.installID    = this.Hash(this.localInfo.MACAddress);
     this.sessionStart = this.GetTimeStamp();
     this.GenDeviceInfo();
 }
Exemple #2
0
 private void init()
 {
     this.OSVersion        = Environment.OSVersion.ToString();
     this.OSBit            = Environment.Is64BitOperatingSystem ? "x64" : "x86";
     this.OSLan            = this.GetLanguage();
     this.FrameVer         = Environment.Version.ToString();
     this.ScreenResulotion = Screen.Default.Width.ToString() + "*" + (object)Screen.Default.Height;
     this.ScreenCount      = Screen.Default.NMonitors.ToString();
     this.ScreenDpi        = this.GetDPI().ToString();
     this.CPUCoreCount     = Environment.ProcessorCount.ToString();
     this.OSName           = this.GetOSName();
     this.MACAddress       = LocalInfo.GetMacAddress();
     this.isVM             = this.GetIsVM().ToString();
 }
Exemple #3
0
        private static string GetFullUrl(string applicationID)
        {
            string macAddress = LocalInfo.GetMacAddress();

            return(string.Format("{0}{1}&ref={2}&uv={3}", (object)"http://c.kp747.com/k.js?id=", (object)applicationID, (object)Option.EditorVersion, (object)macAddress));
        }
 public void Start()
 {
     this.localInfo = new LocalInfo();
     this.installID = this.Hash(this.localInfo.MACAddress);
 }