Detect Encrypted file by VB .Net (Visual Basic)

vblover programmer - Aug 16 - - Dev Community

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, and check for decrypt....

این یک کد ساده است برای شناسایی یک فایل رمزگذاری شده، و چک کردن رمزگشایی ...

<Extension()>
    Function IsEncrypted(File As IO.FileInfo) As Boolean
        Return File.Attributes And System.IO.FileAttributes.Encrypted
    End Function
Enter fullscreen mode Exit fullscreen mode

Also this is an Extension Method....

همچنین این یک متود Extension هست ....

. . . . . .
Terabox Video Player