Is this PInvoke code correct and reliable?
问题 In this question I have searched for a simple solution to unblock files. Thanks to all the comments and answer, I have found a simple solution by PInvoking DeleteFile . It works, but because I've never used file-operations through PInvoke (Win32), I don't know if there are some pitfalls or if there is another method of calling DeleteFile to delete the alternate stream of a file. What I also don't know is if I have to wrap the call in a try/catch or if it is enough just to look the at the