Had an interesting problem where, for some reason, when our customer deployed our application onto their computer (file copy deployment), Windows blocked all of the files. This can be detected by right clicking on the file, going to properties and then there is button entitled "Unblock".
I believe this is caused when the files are transferred onto the computer from an unknown source such as the internet.
Is there a way I could detect that the files are blocked in C#? I am not sure if this "operating system block" sets specific file attributes or something. Also could the file be unblocked in someway?
Note: I am aware of the paradox that the .exe file used to check if files are blocked may itself be blocked but I am hoping my user can at least unblock one file from the install set!