This content originally appeared on DEV Community and was authored by vblover programmer
Hi Everyone see this post! This is my First Post at DEV.to ….
welcome to me.
This is a simple code to detect an encrypted file to check for decrypt….
<Extension()>
Function IsEncrypted(File As IO.FileInfo) As Boolean
Return File.Attributes And System.IO.FileAttributes.Encrypted
End Function
Also this is an Extension Method…
This content originally appeared on DEV Community and was authored by vblover programmer