Yumiko.SelfProtection

Description

  • First (Generate new DLL for validation equipment)

    πŸ“ Uncomment Preprocessor Directives in Strobarried.cs like this

    #define Create_New

    πŸ“ Select the subject to attach to the DLL file

    var bios = new WMIProvider(WNISubject.Win32_BIOS);

    πŸ“ Compile DLL

    var strobarried = new Strobarried(bios);
    strobarried.Compile();

    πŸ“Compile the project and now you can see the Bind.dll in directory after compiled

    πŸ“You need copy Bind.dll to your output folder

  • Second (Append validation code into your code)

    πŸ“ Comment Preprocessor Directives in Strobarried.cs like this

    //#define Create_New

    πŸ“ Select the subject for comparison the DLL content

    var bios = new WMIProvider(WNISubject.Win32_BIOS);

    πŸ“ Validate Equipment

    var strobarried = new Strobarried(bios);
    var validated = Strobarried.Validate(strobarried);

Reference

WMI/MI/OMI Providers

License

MIT