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(); }
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)); }