I want to make a MFC Application that can only run form a know USB flash drive. It should not be run if we copy to the other place.
I found question something like this at here
But i don’t really understand. Please show me a hint.
I want to make a MFC Application that can only run form a know
Share
In MFC:
GetFileInformationByHandleIn C#/C++.NET:
Use WMI the internal serial number of a USB-drive.
Try ths code , if there is no serial number, it is becuse some USB flash drives do have them, some don’t.