Click here to Skip to main content
15,886,518 members
Home / Discussions / C#
   

C#

 
GeneralRecursive File Search Pin
Mark Sanders10-Mar-03 5:42
Mark Sanders10-Mar-03 5:42 
GeneralRe: Recursive File Search Pin
Mazdak10-Mar-03 7:57
Mazdak10-Mar-03 7:57 
GeneralRe: Recursive File Search Pin
leppie10-Mar-03 10:02
leppie10-Mar-03 10:02 
GeneralRe: Recursive File Search Pin
Mazdak11-Mar-03 6:59
Mazdak11-Mar-03 6:59 
GeneralRe: Recursive File Search Pin
Mark Sanders10-Mar-03 10:39
Mark Sanders10-Mar-03 10:39 
GeneralRe: Recursive File Search Pin
Mazdak11-Mar-03 7:30
Mazdak11-Mar-03 7:30 
GeneralRe: Recursive File Search Pin
Mark Sanders14-Mar-03 12:04
Mark Sanders14-Mar-03 12:04 
QuestionHow to Validate NT passwords in c# on windows XP Pin
zoltix10-Mar-03 5:25
zoltix10-Mar-03 5:25 
How to validate user credentials (SSPI)on winNt, win2000,winXp, and without act as part of operating system privilege.

Example
Bool fctCheckUser(user,password,domain);
Return:
True is validate, false is not validate


I implented that but it don'work under windows xp..

[DllImport("Advapi32.dll")]
public static extern long LogonUser(string lpszUserName,string lpszDomain,string lpszPassword,long dwLogonType,long dwLogonProvider,long phToken);
const long LOGON32_PROVIDER_DEFAULT= 3;
const long LOGON32_LOGON_NETWORK= 0;

public Form1()
{

long ret = LogonUser("ll2","ww_europe","zoaqsdfzsol7",LOGON32_LOGON_NETWORK,LOGON32_PROVIDER_DEFAULT,ht);
MessageBox.Show(ret.ToString(), "test",MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
}

-=zoltx=-
AnswerRe: How to Validate NT passwords in c# on windows XP Pin
Richard Deeming11-Mar-03 3:10
mveRichard Deeming11-Mar-03 3:10 
GeneralIsolated Control help (AppDomain) Pin
Davide Icardi10-Mar-03 3:17
Davide Icardi10-Mar-03 3:17 
GeneralDeployment Summary Pin
jpwkeeper10-Mar-03 1:45
jpwkeeper10-Mar-03 1:45 
GeneralEBCDIC to ASCII and vice-versa Pin
Vasudevan Deepak Kumar9-Mar-03 22:00
Vasudevan Deepak Kumar9-Mar-03 22:00 
GeneralCode Parser Pin
vikramlinux9-Mar-03 19:57
vikramlinux9-Mar-03 19:57 
GeneralRe: Code Parser Pin
Stephane Rodriguez.10-Mar-03 1:24
Stephane Rodriguez.10-Mar-03 1:24 
QuestionTelling CLR which version to run at application level?? Pin
jtmtv189-Mar-03 19:50
jtmtv189-Mar-03 19:50 
AnswerRe: Telling CLR which version to run at application level?? Pin
David Stone10-Mar-03 3:57
sitebuilderDavid Stone10-Mar-03 3:57 
GeneralRe: Telling CLR which version to run at application level?? Pin
jtmtv1810-Mar-03 9:14
jtmtv1810-Mar-03 9:14 
GeneralRe: Telling CLR which version to run at application level?? Pin
leppie10-Mar-03 10:08
leppie10-Mar-03 10:08 
GeneralRe: Telling CLR which version to run at application level?? Pin
Anonymous10-Mar-03 11:04
Anonymous10-Mar-03 11:04 
GeneralRe: Telling CLR which version to run at application level?? Pin
leppie10-Mar-03 11:12
leppie10-Mar-03 11:12 
GeneralSave an Icon to File Pin
Mazdak9-Mar-03 18:57
Mazdak9-Mar-03 18:57 
GeneralRe: Save an Icon to File Pin
Richard Deeming9-Mar-03 23:49
mveRichard Deeming9-Mar-03 23:49 
GeneralRe: Save an Icon to File Pin
Mazdak10-Mar-03 7:59
Mazdak10-Mar-03 7:59 
GeneralSecurity Exception Pin
Malcolm Lim9-Mar-03 14:43
Malcolm Lim9-Mar-03 14:43 
GeneralShell Namespace Extensions Pin
kele9-Mar-03 11:36
kele9-Mar-03 11:36 

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.