Is there a library method somewhere for figuring out whether a file has been encrypted with EFS? I see the Encrypt() and Decrypt() methods on FileInfo, but am looking for a way to query a file’s state.
Is there a library method somewhere for figuring out whether a file has been
Share
Use
GetFileAttributes(), and check forFILE_ATTRIBUTE_ENCRYPTED.