MCPcopy Create free account
hub / github.com/BeneficialCode/WinArk / IsProtected

Method IsProtected

WinSysCore/Processes.cpp:219–225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

217}
218
219bool Process::IsProtected() const {
220 PROCESS_EXTENDED_BASIC_INFORMATION info;
221 if (!GetExtendedInfo(GetHandle(), &info))
222 return false;
223
224 return info.IsProtectedProcess ? true : false;
225}
226
227bool Process::IsSecure() const {
228 PROCESS_EXTENDED_BASIC_INFORMATION info;

Callers 1

GetAttributesMethod · 0.80

Calls 1

GetExtendedInfoFunction · 0.85

Tested by

no test coverage detected