⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 unit1.~h

📁 读取硬盘序列号
💻 ~H
字号:
//---------------------------------------------------------------------------

#ifndef Unit1H
#define Unit1H
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#ifndef Unit1H
#define Unit1H
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
//---------------------------------------------------------------------------
  //------------------------------------------------------------------   
  #ifndef   _MD5_H_066A0C4C-8D5C-4698-8AF8-421A1CA8442C   
  #define   _MD5_H_066A0C4C-8D5C-4698-8AF8-421A1CA8442C   
    
  #define   MD5   5   
    
  #ifndef   MD   
      #define   MD   MD5   
  #endif   
    
  #ifndef   PROTOTYPES   
      #define   PROTOTYPES   1
  #endif   
    
  typedef   unsigned   char*                     PUCHAR;   
  typedef   unsigned   short   int             UINT2;   
  typedef   unsigned   int                         UINT4;   
  typedef   unsigned   char                       UCHAR;   
    
  #if   PROTOTYPES   
      #define   PROTO_LIST(list)   list   
  #else   
      #define   PROTO_LIST(list)   ()   
  #endif   
    
  typedef   struct   
  {   
      UINT4   state[4];   
      UINT4   count[2];   
      UCHAR   buffer[64];   
  }   MD5_CTX;   
    
  void   MD5Init   PROTO_LIST   ((MD5_CTX*   Md5_ctx));   
  void   MD5Update   PROTO_LIST   ((MD5_CTX*   Md5_ctx,   PUCHAR   Input,   UINT4   Legth));   
  void   MD5Final   PROTO_LIST   ((UCHAR   Digest[16],   MD5_CTX*   Md5_ctx));   
    
  //#ifdef   MD5_BCB5   
  #include   <vcl.h>   
  #include   <stdio.h>   
  extern   AnsiString   __fastcall   MD5_AnsiString(AnsiString   Input);   
  extern   AnsiString   __fastcall   MD5_File(AnsiString   FileName);   
  //#endif   
    
  #endif
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published:	// IDE-managed Components
        TButton *Button1;
        TEdit *Edit1;
        TEdit *Edit2;
        void __fastcall Button1Click(TObject *Sender);
private:	// User declarations
public:		// User declarations
        __fastcall TForm1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published:	// IDE-managed Components
        TLabel *Label1;
        TButton *Button1;
        TMemo *Memo2;
        TMemo *Memo1;
        TEdit *Edit1;
        void __fastcall FormCreate(TObject *Sender);
        void __fastcall Button1Click(TObject *Sender);
private:	// User declarations
public:		// User declarations
        __fastcall TForm1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -