Click here to Skip to main content
15,915,336 members
Home / Discussions / C#
   

C#

 
QuestionHow to use print preview for printing a selected part of the web page using C#.NET Pin
tirumal123128-Mar-07 2:09
tirumal123128-Mar-07 2:09 
AnswerRe: How to use print preview for printing a selected part of the web page using C#.NET Pin
netJP12L28-Mar-07 5:29
netJP12L28-Mar-07 5:29 
Questionabout delegate and event Pin
upadesh28-Mar-07 2:05
upadesh28-Mar-07 2:05 
AnswerRe: about delegate and event Pin
Stefan Troschuetz28-Mar-07 2:18
Stefan Troschuetz28-Mar-07 2:18 
AnswerRe: about delegate and event Pin
rah_sin28-Mar-07 2:23
professionalrah_sin28-Mar-07 2:23 
AnswerRe: about delegate and event Pin
Elina Blank28-Mar-07 4:36
sitebuilderElina Blank28-Mar-07 4:36 
QuestionInherited permissions for a file or directory Pin
Alper Alaca28-Mar-07 2:04
Alper Alaca28-Mar-07 2:04 
AnswerRe: Inherited permissions for a file or directory Pin
Alper Alaca28-Mar-07 4:11
Alper Alaca28-Mar-07 4:11 
I think I've found it.
It's like:

string dirPath = @"c:\\oracle\temp";
DirectorySecurity ds = Directory.GetAccessControl(dirPath);
AuthorizationRuleCollection arc = ds.GetAccessRules(true, true, typeof(System.Security.Principal.NTAccount));
foreach (FileSystemAccessRule fsar in arc)
{
string identity = fsar.IdentityReference.Value;
string access = fsar.AccessControlType.ToString();
string rights = fsar.FileSystemRights.ToString();
bool inherited = fsar.IsInherited;
}

string filePath = @"c:\\oracle\sqlnet2.ora";
FileSecurity fs = File.GetAccessControl(filePath);
arc = fs.GetAccessRules(true, true, typeof(System.Security.Principal.NTAccount));
foreach (FileSystemAccessRule fsar in arc)
{
string identity = fsar.IdentityReference.Value;
string access = fsar.AccessControlType.ToString();
string rights = fsar.FileSystemRights.ToString();
bool inherited = fsar.IsInherited;
}
QuestionSend ArrayList to ( webMethod) - Web Service Pin
mm31028-Mar-07 1:59
mm31028-Mar-07 1:59 
QuestionIssue with NameValueCollection Pin
SakthiSurya28-Mar-07 1:15
SakthiSurya28-Mar-07 1:15 
AnswerRe: Issue with NameValueCollection Pin
Vikram A Punathambekar28-Mar-07 2:19
Vikram A Punathambekar28-Mar-07 2:19 
GeneralRe: Issue with NameValueCollection Pin
SakthiSurya28-Mar-07 2:28
SakthiSurya28-Mar-07 2:28 
GeneralRe: Issue with NameValueCollection Pin
joon vh.28-Mar-07 3:44
joon vh.28-Mar-07 3:44 
AnswerRe: Issue with NameValueCollection Pin
rah_sin28-Mar-07 2:40
professionalrah_sin28-Mar-07 2:40 
GeneralRe: Issue with NameValueCollection Pin
SakthiSurya28-Mar-07 18:27
SakthiSurya28-Mar-07 18:27 
QuestionHow to read Textfile FAST into memory and then read LINE Pin
error140828-Mar-07 0:52
error140828-Mar-07 0:52 
AnswerRe: How to read Textfile FAST into memory and then read LINE Pin
Pete O'Hanlon28-Mar-07 2:03
mvePete O'Hanlon28-Mar-07 2:03 
AnswerRe: How to read Textfile FAST into memory and then read LINE Pin
woudwijk28-Mar-07 5:18
woudwijk28-Mar-07 5:18 
QuestionAbout MDI applications Pin
Raheem MA28-Mar-07 0:49
Raheem MA28-Mar-07 0:49 
AnswerRe: About MDI applications Pin
Pete O'Hanlon28-Mar-07 1:34
mvePete O'Hanlon28-Mar-07 1:34 
QuestionDataAdapter.Fill(DataSet) in a thread Pin
Seishin#28-Mar-07 0:43
Seishin#28-Mar-07 0:43 
Questionswitch statement Pin
blackjack215028-Mar-07 0:30
blackjack215028-Mar-07 0:30 
AnswerRe: switch statement Pin
Brady Kelly28-Mar-07 0:34
Brady Kelly28-Mar-07 0:34 
AnswerRe: switch statement Pin
Muammar©28-Mar-07 0:34
Muammar©28-Mar-07 0:34 
GeneralRe: switch statement Pin
blackjack215028-Mar-07 0:40
blackjack215028-Mar-07 0:40 

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.