接受用户输入并导入为二进制注册表项 [英] Accepting user input and importing as binary registry key

查看:66
本文介绍了接受用户输入并导入为二进制注册表项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

我正在尝试创建一个程序,该程序将自动为Konica Minolta添加帐户跟踪代码.我在程序中有其他功能.我的问题是我不确定如何采用从用户输入生成的字符串并进行转换 到二进制密钥的可接受值.我认为它是用32位编码方法编码的.不能100%确定是哪一个.

I am trying to create a program that will automatically add the account track code for a Konica Minolta. I have everything else in the program functional. My problem is that I am not sure how to take the string that is generated from the user input and convert that to an accepted value for a binary key. I think it is encoded with a 32 bit encoding method. Not 100% sure which one it is.

以下是显示在注册表中的字符串:[2f 01 8c 77 52 62 54 a8 9a 1b c8 c1 15 21 4a 9f].

Here is the string that shows up in the registry: [2f 01 8c 77 52 62 54 a8 9a 1b c8 c1 15 21 4a 9f].

很明显这是十六进制的,不确定如何将4位代码转换为该long值.我对编码还很陌生,因此非常感谢您提供任何其他解释.

Obviously that is in hex, not sure how it converted a 4 digit code into that long value. I am rather new to encoding so any extra explanation would be very much appreciated.

谢谢!

推荐答案

我正在尝试创建一个程序,该程序将自动为Konica Minolta添加帐户跟踪代码.

I am trying to create a program that will automatically add the account track code for a Konica Minolta.

由于在计算机中存储该价值的目的是确保只有授权用户才能使用该设备,所以我猜想只有柯尼卡(Konica)知道如何制造这些密钥.

Since the purpose of storing that value in the computer is to ensure that only authorised users can use the device, I would guess that only Konica knows how to manufacture those keys.


这篇关于接受用户输入并导入为二进制注册表项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆