are.ehibou.com

January 31, 2009

vtu@home server software updated

Filed under: BOINC, vtu@home — Tags: , — admin @ 2:21 am

Dear all. I’ve just updated vtu@home projects server software. The update went smoothly, but some bad things can still occure. In case of some incovenience please let me know.

Projects main application was changed. Now it is more practical – not just test application, but more about it will be written in the upcoming posts.

Thank you for your contribution.

  • Share/Bookmark

January 30, 2009

c#.NET file acces denied problem

Filed under: C#.NET, Side Notes — Tags: , — admin @ 4:03 pm

I was trying to access a file with the user having only read permission. the code looked like:

FileStream fs =new FileStream(
"c:\path\to\file.ext",
FileMode.Open);

and it uset to throw exception “access denied”. After some investigations I’ve found that FileAccess.Read helps a lot.

FileStream fs = new FileStream(
"c:\path\to\file.ext",
FileMode.Open,
FileAccess.Read);
  • Share/Bookmark

Powered by WordPress