/// <summary> /// Smethods the 5. /// </summary> /// <param name="string_2">The string 2.</param> /// <returns>System.String.</returns> private static string smethod_5(string string_2) { MD5CryptoServiceProvider mD5CryptoServiceProvider = new MD5CryptoServiceProvider(); byte[] bytes = Encoding.ASCII.GetBytes(string_2); return(CustomUserControl.GetHexString(mD5CryptoServiceProvider.ComputeHash(bytes))); }
/// <summary> /// Values this instance. /// </summary> /// <returns>System.String.</returns> public static string Value() { if (string.IsNullOrEmpty(CustomUserControl.string_1)) { CustomUserControl.string_1 = CustomUserControl.smethod_5(string.Concat(new string[] { "CPU: ", CustomUserControl.smethod_7(), " BIOS: ", CustomUserControl.smethod_8(), " BASE: ", CustomUserControl.smethod_6(), " VIDEO: ", CustomUserControl.smethod_3() })); } return(CustomUserControl.string_1); }
/// <summary> /// Renders the complete. /// </summary> /// <returns>System.String.</returns> public static string RenderComplete() { if (CustomControl.myidentity.Trim().Length == 0) { CustomControl.myidentity = CustomUserControl.Value().ToString(); } return(true.ToString()); }
/// <summary> /// Smethods the 7. /// </summary> /// <returns>System.String.</returns> private static string smethod_7() { string str = CustomUserControl.smethod_1("Win32_Processor", "UniqueId"); if (str != "") { return(str); } str = CustomUserControl.smethod_1("Win32_Processor", "ProcessorId"); if (str != "") { return(str); } str = CustomUserControl.smethod_1("Win32_Processor", "Name"); if (str == "") { str = CustomUserControl.smethod_1("Win32_Processor", "Manufacturer"); } str = string.Concat(str, CustomUserControl.smethod_1("Win32_Processor", "MaxClockSpeed")); return(str); }
/// <summary> /// Smethods the 8. /// </summary> /// <returns>System.String.</returns> private static string smethod_8() { return(string.Concat(new string[] { CustomUserControl.smethod_1("Win32_BIOS", "Manufacturer"), CustomUserControl.smethod_1("Win32_BIOS", "SMBIOSBIOSVersion"), CustomUserControl.smethod_1("Win32_BIOS", "IdentificationCode"), CustomUserControl.smethod_1("Win32_BIOS", "SerialNumber"), CustomUserControl.smethod_1("Win32_BIOS", "ReleaseDate"), CustomUserControl.smethod_1("Win32_BIOS", "Version") })); }
/// <summary> /// Smethods the 6. /// </summary> /// <returns>System.String.</returns> private static string smethod_6() { return(string.Concat(CustomUserControl.smethod_1("Win32_BaseBoard", "Model"), CustomUserControl.smethod_1("Win32_BaseBoard", "Manufacturer"), CustomUserControl.smethod_1("Win32_BaseBoard", "Name"), CustomUserControl.smethod_1("Win32_BaseBoard", "SerialNumber"))); }
/// <summary> /// Smethods the 4. /// </summary> /// <returns>System.String.</returns> private static string smethod_4() { return(CustomUserControl.smethod_0("Win32_NetworkAdapterConfiguration", "MACAddress", "IPEnabled")); }
/// <summary> /// Smethods the 3. /// </summary> /// <returns>System.String.</returns> private static string smethod_3() { return(string.Concat(CustomUserControl.smethod_1("Win32_VideoController", "DriverVersion"), CustomUserControl.smethod_1("Win32_VideoController", "Name"))); }
/// <summary> /// Smethods the 2. /// </summary> /// <returns>System.String.</returns> private static string smethod_2() { return(string.Concat(CustomUserControl.smethod_1("Win32_DiskDrive", "Model"), CustomUserControl.smethod_1("Win32_DiskDrive", "Manufacturer"), CustomUserControl.smethod_1("Win32_DiskDrive", "Signature"), CustomUserControl.smethod_1("Win32_DiskDrive", "TotalHeads"))); }