Click here to Skip to main content
15,921,463 members
Home / Discussions / C#
   

C#

 
QuestionHow to Save/Store non serializable objects Pin
Anindya Chatterjee31-Mar-10 1:06
Anindya Chatterjee31-Mar-10 1:06 
AnswerRe: d How to Save/Store non serializable objects Pin
Keith Barrow31-Mar-10 1:17
professionalKeith Barrow31-Mar-10 1:17 
AnswerRe: How to Save/Store non serializable objects Pin
Bernhard Hiller31-Mar-10 2:16
Bernhard Hiller31-Mar-10 2:16 
QuestionThousand Seperator Pin
Sasmi_Office31-Mar-10 0:53
Sasmi_Office31-Mar-10 0:53 
AnswerRe: Thousand Seperator Pin
#realJSOP31-Mar-10 1:50
professional#realJSOP31-Mar-10 1:50 
AnswerRe: Thousand Seperator Pin
Eddy Vluggen31-Mar-10 1:55
professionalEddy Vluggen31-Mar-10 1:55 
QuestionPrevent access to directory Pin
Maddie from Dartford31-Mar-10 0:26
Maddie from Dartford31-Mar-10 0:26 
AnswerRe: Prevent access to directory Pin
Calla31-Mar-10 1:25
Calla31-Mar-10 1:25 
I think this can be achieved with the FileSystemAccessRule class (the creation of the rule(s) that is). Then you create a DirectorySecurity ojbect and use the AddAccessRule method to apply your access rule(s). Finally, create a DirectoryInfo object representing the folder and run the SetAccessControl method which takes your DirectorySecurity object as an argument.

That's pretty much how I've done it in the past. Good luck! Smile | :)
AnswerRe: Prevent access to directory Pin
Maddie from Dartford31-Mar-10 2:12
Maddie from Dartford31-Mar-10 2:12 
GeneralRe: Prevent access to directory Pin
#realJSOP31-Mar-10 2:22
professional#realJSOP31-Mar-10 2:22 
GeneralRe: Prevent access to directory Pin
Maddie from Dartford31-Mar-10 3:02
Maddie from Dartford31-Mar-10 3:02 
GeneralRe: Prevent access to directory Pin
#realJSOP31-Mar-10 11:48
professional#realJSOP31-Mar-10 11:48 
QuestionRe: Prevent access to directory Pin
Calla31-Mar-10 3:10
Calla31-Mar-10 3:10 
AnswerRe: Prevent access to directory Pin
Maddie from Dartford31-Mar-10 5:19
Maddie from Dartford31-Mar-10 5:19 
GeneralRe: Prevent access to directory Pin
Calla31-Mar-10 20:49
Calla31-Mar-10 20:49 
QuestionWindows Mobile 6 zooming in a picturebox Pin
Tripwire99930-Mar-10 23:25
Tripwire99930-Mar-10 23:25 
AnswerRe: Windows Mobile 6 zooming in a picturebox Pin
Ashraf ELHakim26-Jun-10 13:05
Ashraf ELHakim26-Jun-10 13:05 
QuestionShowing and interact with HTML-Pages without WebBrowser Control? Pin
softwarejaeger30-Mar-10 21:40
softwarejaeger30-Mar-10 21:40 
AnswerRe: Showing and interact with HTML-Pages without WebBrowser Control? Pin
Abhinav S30-Mar-10 21:45
Abhinav S30-Mar-10 21:45 
QuestionSessions in C# Desktop Application Pin
Anil Kumar.Arvapalli30-Mar-10 20:27
Anil Kumar.Arvapalli30-Mar-10 20:27 
AnswerRe: Sessions in C# Desktop Application Pin
Khaniya30-Mar-10 20:41
professionalKhaniya30-Mar-10 20:41 
AnswerRe: Sessions in C# Desktop Application Pin
OriginalGriff30-Mar-10 22:04
mveOriginalGriff30-Mar-10 22:04 
QuestionStoring and Retrieving Image in Access Pin
Anil Kumar.Arvapalli30-Mar-10 20:24
Anil Kumar.Arvapalli30-Mar-10 20:24 
AnswerRe: Storing and Retrieving Image in Access Pin
Dan Mos30-Mar-10 21:52
Dan Mos30-Mar-10 21:52 
QuestionSynchnroization with lock statement Pin
xkrja30-Mar-10 20:23
xkrja30-Mar-10 20:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.