You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
762 B
C++
27 lines
762 B
C++
#pragma once
|
|
#include "module.h"
|
|
|
|
#include "KernelMode.h"
|
|
extern CKernelMode gKernelMode;
|
|
|
|
//设备加密管理
|
|
class CEncryptionMgr :public CModule
|
|
{
|
|
public:
|
|
CEncryptionMgr(void);
|
|
~CEncryptionMgr(void);
|
|
virtual void OnAppInitialize();
|
|
bool CheckLockState();
|
|
void CheckLeftDays();
|
|
bool IsbRunAtNoteBook(){return m_bRunAtNoteBook;};
|
|
CString GetCurHardDiskSerialNum(){return m_CurHardDiskSerialNum;};
|
|
private:
|
|
CString GetHardDiskSerialNum();
|
|
private:
|
|
int m_LeftDays;//剩余的天数
|
|
bool m_bFirstExt;//第一次执行
|
|
bool m_bRunAtNoteBook;//是否在笔记本上运行
|
|
CString m_CurHardDiskSerialNum;//当前的硬盘序列号
|
|
};
|
|
extern CEncryptionMgr *gEncryptionMgr;
|