I'm trying to check and see if a file has been marked as Read only. If it is Read Only, then I want to change to not be Read Only. However, the program is not seeing that the IsReadOnly property = True. It always thinks that IsReadOnly = false. Am I doing something wrong?
I'm using .Net Framework 3.5.
Dim objFile as New FileInfo(full file path)
If objFile.IsReadOnly = True Then
objFile.IsReadOnly = False