Click here to Skip to main content
15,888,521 members
Home / Discussions / C#
   

C#

 
AnswerRe: activity-selection algorithm in c# Pin
J4amieC28-Jan-13 0:44
J4amieC28-Jan-13 0:44 
AnswerRe: activity-selection algorithm in c# Pin
pt140128-Jan-13 8:40
pt140128-Jan-13 8:40 
QuestionC# access excel file Pin
dcof26-Jan-13 18:24
dcof26-Jan-13 18:24 
SuggestionRe: C# access excel file Pin
Richard MacCutchan27-Jan-13 0:15
mveRichard MacCutchan27-Jan-13 0:15 
AnswerRe: C# access excel file Pin
Dave Kreskowiak27-Jan-13 3:44
mveDave Kreskowiak27-Jan-13 3:44 
QuestionWCF receiving large XML Pin
Alex Campos Vzla25-Jan-13 11:39
Alex Campos Vzla25-Jan-13 11:39 
AnswerRe: WCF receiving large XML Pin
Eddy Vluggen26-Jan-13 3:38
professionalEddy Vluggen26-Jan-13 3:38 
Questionreading NTFS Share permission - how to interpret SHARE_INFO_2.Permissions flag Pin
devvvy25-Jan-13 8:52
devvvy25-Jan-13 8:52 
hi i am trying to read NTFS share permission. Imported
<br />
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]<br />
            protected struct SHARE_INFO_2<br />
            {<br />
                [MarshalAs(UnmanagedType.LPWStr)]<br />
                public string NetName;<br />
                public ShareType ShareType;<br />
                [MarshalAs(UnmanagedType.LPWStr)]<br />
                public string Remark;<br />
                public int Permissions;<br />
                public int MaxUsers;<br />
                public int CurrentUsers;<br />
                [MarshalAs(UnmanagedType.LPWStr)]<br />
                public string Path;<br />
                [MarshalAs(UnmanagedType.LPWStr)]<br />
                public string Password;<br />
            }<br />


According to MSDN, Permissions include ACCESS_READ, ACCESS_WRITE, ... etc but the document doesn't tell you the "Integer" value of these constants. Where can I find the C++ header file where these constants are defined? I need them so I can convert integer value "Permissions" into human readable message.[^].

Thank you!

Reference: Network Shares and UNC paths[^]
dev

AnswerRe: reading NTFS Share permission - how to interpret SHARE_INFO_2.Permissions flag Pin
André Kraak25-Jan-13 10:57
André Kraak25-Jan-13 10:57 
AnswerRe: reading NTFS Share permission - how to interpret SHARE_INFO_2.Permissions flag Pin
Richard Deeming28-Jan-13 2:02
mveRichard Deeming28-Jan-13 2:02 
Questionreturn list of url if i enter specific keyword Pin
prashant.k.bamania25-Jan-13 2:24
prashant.k.bamania25-Jan-13 2:24 
AnswerRe: return list of url if i enter specific keyword Pin
Richard MacCutchan25-Jan-13 3:24
mveRichard MacCutchan25-Jan-13 3:24 
GeneralRe: return list of url if i enter specific keyword Pin
prashant.k.bamania26-Jan-13 1:21
prashant.k.bamania26-Jan-13 1:21 
GeneralRe: return list of url if i enter specific keyword Pin
Richard MacCutchan26-Jan-13 1:23
mveRichard MacCutchan26-Jan-13 1:23 
AnswerRe: return list of url if i enter specific keyword Pin
Pete O'Hanlon25-Jan-13 3:53
mvePete O'Hanlon25-Jan-13 3:53 
GeneralRe: return list of url if i enter specific keyword Pin
prashant.k.bamania26-Jan-13 1:22
prashant.k.bamania26-Jan-13 1:22 
GeneralRe: return list of url if i enter specific keyword Pin
Pete O'Hanlon26-Jan-13 5:12
mvePete O'Hanlon26-Jan-13 5:12 
AnswerRe: return list of url if i enter specific keyword Pin
Manfred Rudolf Bihy26-Jan-13 10:09
professionalManfred Rudolf Bihy26-Jan-13 10:09 
SuggestionGoogle Earth Plugin throwing Javascript Error to WPF Window Pin
citibabu24-Jan-13 19:50
citibabu24-Jan-13 19:50 
GeneralRe: Google Earth Plugin throwing Javascript Error to WPF Window Pin
Richard MacCutchan25-Jan-13 1:41
mveRichard MacCutchan25-Jan-13 1:41 
Questionimplementing skype plugin on windows 8 Pin
omotayo adebola24-Jan-13 13:37
omotayo adebola24-Jan-13 13:37 
AnswerRe: implementing skype plugin on windows 8 Pin
Pete O'Hanlon25-Jan-13 0:08
mvePete O'Hanlon25-Jan-13 0:08 
QuestionC# timeout Pin
dcof24-Jan-13 12:10
dcof24-Jan-13 12:10 
AnswerRe: C# timeout Pin
Mycroft Holmes24-Jan-13 14:01
professionalMycroft Holmes24-Jan-13 14:01 
AnswerRe: C# timeout Pin
V.25-Jan-13 1:27
professionalV.25-Jan-13 1:27 

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.