I am working on a Cocoa application (Objective-C) where it needs to determine if the FileVault
is turned on. I tried searching the .plist
for FileVault
but no success.
Any help would be appreciated,
Thanks in advance :) cheers
I am working on a Cocoa application (Objective-C) where it needs to determine if the FileVault
is turned on. I tried searching the .plist
for FileVault
but no success.
Any help would be appreciated,
Thanks in advance :) cheers
It's fairly simple via
NSTask
:There's likely a way to check via
SecKeychain
, although for a quick check that might be overkill.