hedan

一.Windows验证操作系统密码

#include "stdafx.h"
#include <iostream>
#include<windows.h>

using namespace std;

int _tmain(int argc, _TCHAR* argv[])
{

    HANDLE hUser;
     if(   LogonUser("Administrator",NULL,"*****",LOGON32_LOGON_INTERACTIVE,LOGON32_PROVIDER_DEFAULT,&hUser))
  {
    cout<<"ok";
  }else{
    cout<<"error";
  };
 

 char i;
 i=getchar();


 return 0;
}

分类:

技术点:

相关文章:

  • 2021-11-23
  • 2021-06-24
  • 2021-06-18
  • 2022-01-13
  • 2022-01-01
  • 2022-12-23
  • 2021-09-12
猜你喜欢
  • 2022-02-22
  • 2022-12-23
  • 2021-06-26
  • 2021-11-24
  • 2021-09-24
  • 2021-06-16
  • 2021-10-13
相关资源
相似解决方案