system-identification

Determine a computer ID in Flash/AIR game

风流意气都作罢 提交于 2020-01-04 14:04:10
问题 I'm creating an online multiplayer game in which I want to prevent players from joining a game using multiple clients/accounts on one computer. I can't simply do a server sided check for the IP-address because I still want e.g. people in the same office to be able to play together. Therefore I'd like to generate some kind of computer ID/hash on the client which it sends along to the server. I know that is easily hackable, but it will stop at least those "cheaters" who can't or won't change

Get Unique System Identifiers in C#

回眸只為那壹抹淺笑 提交于 2019-12-17 22:57:03
问题 what kind of 'unique' system identifiers can be easily obtained using C# (to hash and then uniquely identify a system)? I could just hash HDD size and things like that but I need to identify and distinguish computers that are all built by the same components so I can't go by that. Appreciate hints, ideas, sample code! 回答1: Here's a good start with WMI ... // Win32_CPU will work too var search = new ManagementObjectSearcher( "SELECT * FROM Win32_baseboard" ); var mobos = search.Get(); foreach

non-linear grey box System identification with Matlab

ぐ巨炮叔叔 提交于 2019-12-12 12:34:37
问题 I am trying to to a non linear grey box model identification and I am using the following code. I have my measurements for the input in input vector, output vector and time stamps in time. input = output_data(2:3,:)'; output = output_data(4:5,:)'; time = output_data(1,:)'; data = iddata(output, input, [], 'SamplingInstants', time); data.TimeUnit = 's'; %create model Order = [2 2 4]; % Model orders [ny nu nx].cha Parameters = [1; 1; 1; 1; 1; 0.1]; % Initial parameter vector. InitialStates = [0

Platform identification in WiX 3.0

本小妞迷上赌 提交于 2019-11-30 14:54:30
问题 I am facing issues when migrating the managed code from x86 to x64 platform. I have a WiX project to create an MSI which will be executed through Bootstrapper. On an x86 platform, files get copied in “Program Files” as per the Project.wxs file. But if the same MSI is installed on an x64 platform through Bootstrapper, all the installation files get copied by default in “Program Files (x86)” and the application’s functionality failed as it could not find the necessary files in the 12-hive

Platform identification in WiX 3.0

僤鯓⒐⒋嵵緔 提交于 2019-11-30 12:25:23
I am facing issues when migrating the managed code from x86 to x64 platform. I have a WiX project to create an MSI which will be executed through Bootstrapper. On an x86 platform, files get copied in “Program Files” as per the Project.wxs file. But if the same MSI is installed on an x64 platform through Bootstrapper, all the installation files get copied by default in “Program Files (x86)” and the application’s functionality failed as it could not find the necessary files in the 12-hive hierarchy of Program Files (for 64-bit it is “C:\Program Files\Common Files\Microsoft Shared\web server

Get Unique System Identifiers in C#

夙愿已清 提交于 2019-11-28 20:56:20
what kind of 'unique' system identifiers can be easily obtained using C# (to hash and then uniquely identify a system)? I could just hash HDD size and things like that but I need to identify and distinguish computers that are all built by the same components so I can't go by that. Appreciate hints, ideas, sample code! Here's a good start with WMI ... // Win32_CPU will work too var search = new ManagementObjectSearcher( "SELECT * FROM Win32_baseboard" ); var mobos = search.Get(); foreach (var m in mobos) { var serial = m["SerialNumber"]; // ProcessorID if you use Win32_CPU } You can do that

Unique computer ID

感情迁移 提交于 2019-11-27 00:27:04
I'm looking for a way to get unique computer ID. According to this post I can't use processor ID for this purpose. Can I take motherboard ID? What is the best way to identify the computer? djdd87 Like you've said CPU Id wont be unique, however you can use it with another hardware identifier to create your own unique key. Reference assembly System.Management So, use this code to get the CPU ID: string cpuInfo = string.Empty; ManagementClass mc = new ManagementClass("win32_processor"); ManagementObjectCollection moc = mc.GetInstances(); foreach (ManagementObject mo in moc) { cpuInfo = mo

Unique computer ID

末鹿安然 提交于 2019-11-26 09:25:45
问题 I\'m looking for a way to get unique computer ID. According to this post I can\'t use processor ID for this purpose. Can I take motherboard ID? What is the best way to identify the computer? 回答1: Like you've said CPU Id wont be unique, however you can use it with another hardware identifier to create your own unique key. Reference assembly System.Management So, use this code to get the CPU ID: string cpuInfo = string.Empty; ManagementClass mc = new ManagementClass("win32_processor");