ahmad_hamdan
Member
- Joined
- May 24, 2010
- Messages
- 19
- Programming Experience
- Beginner
Hi all,
I am trying to use FileInfo.encrypt but i get an exception saying " The request isnot supported", i looked in the msdn but nothing related to that is there, when i check the exception type is System.IOException
Can any one help me with it
Here is my Code:
I am trying to use FileInfo.encrypt but i get an exception saying " The request isnot supported", i looked in the msdn but nothing related to that is there, when i check the exception type is System.IOException
Can any one help me with it
Here is my Code:
VB.NET:
Dim fi As New FileInfo("D:\act.txt")
Try
fi.Encrypt()
Console.Read()
fi.Decrypt()
Catch ex As IOException
MsgBox(ex.Message)
End Try