Click here to Skip to main content
15,891,657 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Deserialization from an unserialized file Pin
eussam18-May-05 6:10
eussam18-May-05 6:10 
General.Net file format Pin
852y3agnna18-May-05 1:18
852y3agnna18-May-05 1:18 
GeneralRe: .Net file format Pin
Mike Dimmick18-May-05 1:43
Mike Dimmick18-May-05 1:43 
GeneralCustom toolbar control in .Net framework Pin
agrafov17-May-05 9:59
agrafov17-May-05 9:59 
GeneralRe: Custom toolbar control in .Net framework Pin
John Arlen117-May-05 10:23
John Arlen117-May-05 10:23 
GeneralRe: Custom toolbar control in .Net framework Pin
Carl Mercier17-May-05 11:13
Carl Mercier17-May-05 11:13 
GeneralRe: Custom toolbar control in .Net framework Pin
Sebrell22-May-05 15:50
Sebrell22-May-05 15:50 
GeneralDetermining logon provider Pin
Ryan McCauley17-May-05 6:24
Ryan McCauley17-May-05 6:24 
I'm currently writing an application that uses LogonUser function from advapi32.dll (Detailed here). The only problem is that I also have a pass a logon provider constant to the API. The technique I was using was to call the procedure four times - once for each of the 4 types of logon providers (NT3.51, NT4, NT5, and Default). While this works great if the username and password are correct, if they're not, it equals 4 failed logon attempts, which locks the user account. I would just use LOGON_DEFAULT, but I was unable to get a positive authentication from a W2K client on an NT4 domain.

Do here's my question: Is there some way that I can determine the logon provider from another API call or somewhere in the .NET framework? That way, I would only have to call the API once, using the correct provider constant, to be able to determine if the username/password/domain combination I've collected is valid. Again, DEFAULT appears not to work in certain situations (like an NT5 or higher client against an NT4 domain) - maybe there's something else about DEFAULT that I'm missing. Any ideas?
GeneralProblem with GetTextExtentPoint32 Pin
Alsvha17-May-05 1:20
Alsvha17-May-05 1:20 
GeneralRe: Problem with GetTextExtentPoint32 Pin
John Arlen117-May-05 10:18
John Arlen117-May-05 10:18 
GeneralRe: Problem with GetTextExtentPoint32 Pin
Alsvha17-May-05 18:31
Alsvha17-May-05 18:31 
GeneralRe: Problem with GetTextExtentPoint32 Pin
Dave Kreskowiak17-May-05 19:31
mveDave Kreskowiak17-May-05 19:31 
QuestionA bug in .net debugger??? Pin
anurik16-May-05 21:53
anurik16-May-05 21:53 
AnswerRe: A bug in .net debugger??? Pin
Marc Clifton17-May-05 0:23
mvaMarc Clifton17-May-05 0:23 
QuestionHow to change desktop theme and start menu style in c# Pin
mmsspp16-May-05 17:51
mmsspp16-May-05 17:51 
QuestionHow to reload .Net control (Applet) Pin
Anonymous16-May-05 10:49
Anonymous16-May-05 10:49 
AnswerRe: How to reload .Net control (Applet) Pin
Marc Clifton16-May-05 11:31
mvaMarc Clifton16-May-05 11:31 
GeneralRe: How to reload .Net control (Applet) Pin
Anonymous16-May-05 11:59
Anonymous16-May-05 11:59 
GeneralContinuous Async read Pin
goldoche16-May-05 7:36
goldoche16-May-05 7:36 
GeneralRe: Continuous Async read Pin
Marc Clifton16-May-05 11:34
mvaMarc Clifton16-May-05 11:34 
QuestionIDesignerHost resources? Pin
Dr Herbie16-May-05 1:28
Dr Herbie16-May-05 1:28 
AnswerRe: IDesignerHost resources? Pin
Dr Herbie16-May-05 22:00
Dr Herbie16-May-05 22:00 
GeneralRe: IDesignerHost resources? Pin
Marc Clifton17-May-05 0:24
mvaMarc Clifton17-May-05 0:24 
GeneralAppDomain.AppendPrivatePath Pin
David Wulff15-May-05 10:00
David Wulff15-May-05 10:00 
GeneralRe: AppDomain.AppendPrivatePath Pin
Marc Clifton15-May-05 14:20
mvaMarc Clifton15-May-05 14:20 

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.