![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| Guest | XDocument Exclusive Access I can successfully do the following: xdocument doc = xdocument.load(... my file); xelement bla = doc.descendants.("it").first(); .... do stuff ... doc.save("myfile"); the above works great. however, i want to interact with the file with exclusive access so that no other files can open it/write to it/etc. while i'm doing stuff with it. i know that there's the normal FileStream.open (etc., fileshare.none), but the xdocument class doesn't take a stream as a constructor. is there any way i can do this without having to use the xmldocument class? Thanks. |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| PPT's With Presenter Video in New Exclusive Offer | Microsoft Office | |||
| Exclusive: Oil Immersion Cooling Goes Mainstream with Hardcore PC's Reactor | Overclocking & Cooling | |||
| Exclusive User For Media Center?! | Media Center | |||
| Open file for exclusive access | PowerShell | |||