ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[µo°Ý] ·Q½Ð±Ð¬O§_¦³¥i¯à§Q¥Îvb°µ¤@­Óµù¥U¾÷

[µo°Ý] ·Q½Ð±Ð¬O§_¦³¥i¯à§Q¥Îvb°µ¤@­Óµù¥U¾÷

·Q½Ð±Ð¤@¤U¡A¬O§_¦³¥i¯à§Q¥Îvb°µ¤@­Ó¹ïÀ³¤U­±ªºµù¥U½X°µ¤@­Óµù¥U¾÷©O¡H
³o¬O±qºô¸ô¤W©Ò§ä¨ìªº½X¡G
Dim temp
    temp = 88888888
    Dim MyUserName
    MyUserName = GetSetting(appname:="MyApp", section:="Startup", Key:="User")
    RegValue = GetSetting(appname:="MyApp", section:="Startup", Key:="Reg")
    Dim Reg, Serial1, Serial2 As Long
    v = GetHardDiskInfo(hdPrimaryMaster, 3)
    For i = 1 To Len(v)
        yzc = yzc + Asc(Mid(v, i, 1)) * 10
    Next
    Serial1 = yzc
    Dim serial
    serial = Serial1
    Dim Head, RegCode As String
    Dim head1, head2
    head1 = Chr(Left(serial, 1) + 65 + (serial Mod 2))
    head2 = Chr(Right(serial, 1) + 74)
    Head = head1 & head2
    Reg = Round(Abs(serial + temp) / 3, 0) + serial
    If RegValue = serial + temp Then
        MsgBox "¥»Àɮפw¥Ñ" & MyUserName & "µù¥U¦¨¥\¡I½Ð©ñ¤ß¨Ï¥Î¡I  ", vbInformation, "µù¥U¸ê°T"
        Exit Sub
    End If

RegValue = serial + temp
§Ú±N§Ç¦C¸¹¼Æ¦r+temp¡A«ç»ò¿é¤J³£¬O¿ùªº
¥i¥H½Ð±Ð¤@¤U¡A §Ú¬O¤£¬O­þ¸Ì¦³§Ë¿ù©O ¡H

TOP

RegValue = serial + temp
§Ú±N§Ç¦C¸¹¼Æ¦r+temp¡A«ç»ò¿é¤J³£¬O¿ùªº
¥i¥H½Ð±Ð¤@¤U¡A §Ú¬O¤£¬O­þ¸Ì¦³§Ë¿ù©O ...
ianlcc µoªí©ó 2023-4-12 08:42



1.³Ì¦n©w¸q¤@¤Uv³o­ÓÅܼÆ
2.GetHardDiskInfoE¥i¯à¦^¶ÇNull©Î¨ä¥L­È

¦³§¹¾ãµ{¦¡¤ñ¸û¦n§PÂ_

TOP

        ÀR«ä¦Û¦b : «Ý¤H°h¤@¨B¡A·R¤H¼e¤@¤o¡A´N·|¬¡±o«Ü§Ö¼Ö¡C
ªð¦^¦Cªí ¤W¤@¥DÃD