Click here to Skip to main content
15,909,827 members
Home / Discussions / C#
   

C#

 
GeneralRe: JPEG image processing with C# Pin
Christian Graus16-Jan-05 11:37
protectorChristian Graus16-Jan-05 11:37 
GeneralRe: JPEG image processing with C# Pin
Heath Stewart17-Jan-05 6:05
protectorHeath Stewart17-Jan-05 6:05 
GeneralTransfer Files Pin
Sakkijha16-Jan-05 6:39
Sakkijha16-Jan-05 6:39 
GeneralRe: Transfer Files Pin
Heath Stewart16-Jan-05 9:08
protectorHeath Stewart16-Jan-05 9:08 
GeneralObjects Performing Maths Functions Pin
Wayne Phipps16-Jan-05 4:42
Wayne Phipps16-Jan-05 4:42 
GeneralRe: Objects Performing Maths Functions Pin
Heath Stewart16-Jan-05 6:26
protectorHeath Stewart16-Jan-05 6:26 
GeneralWindows logon Pin
WillemM16-Jan-05 3:03
WillemM16-Jan-05 3:03 
GeneralRe: Windows logon Pin
Heath Stewart16-Jan-05 6:20
protectorHeath Stewart16-Jan-05 6:20 
Prompt them with a dialog that has a couple of TextBoxes, one of which with the PasswordChar to set to *.

Be sure you never send the password in clear-text across the network. P/Invoke the Authentication functions[^] like LogonUser.

To provide a consistent user interface, however, and to store credentials securely consider using the Data Protection API, or DPAPI. See How To: Create a DPAPI Library[^] on MSDN and Using Credential Management in Windows XP and Windows Server 2003[^].

There's also information about how DPAPI is used within .NET 2.0 at http://msdn.microsoft.com/msdnmag/issues/05/01/securitybriefs/[^].

This posting is provided "AS IS" with no warranties, and confers no rights.

Software Design Engineer
Developer Division Sustained Engineering
Microsoft

[My Articles] [My Blog]
GeneralRe: Windows logon Pin
WillemM16-Jan-05 6:41
WillemM16-Jan-05 6:41 
GeneralRe: Windows logon Pin
Heath Stewart16-Jan-05 9:00
protectorHeath Stewart16-Jan-05 9:00 
GeneralRe: Windows logon Pin
WillemM16-Jan-05 20:21
WillemM16-Jan-05 20:21 
GeneralMove control at runtime Pin
M4tt16-Jan-05 2:56
M4tt16-Jan-05 2:56 
GeneralRe: Move control at runtime Pin
Mazdak16-Jan-05 6:10
Mazdak16-Jan-05 6:10 
Questionhow to create a (splitter?)bar as in outlook 2003... Pin
just_starting16-Jan-05 2:45
just_starting16-Jan-05 2:45 
AnswerRe: how to create a (splitter?)bar as in outlook 2003... Pin
Heath Stewart16-Jan-05 9:09
protectorHeath Stewart16-Jan-05 9:09 
GeneralRe: how to create a (splitter?)bar as in outlook 2003... Pin
just_starting17-Jan-05 4:45
just_starting17-Jan-05 4:45 
GeneralRe: how to create a (splitter?)bar as in outlook 2003... Pin
Heath Stewart17-Jan-05 5:57
protectorHeath Stewart17-Jan-05 5:57 
AnswerRe: how to create a (splitter?)bar as in outlook 2003... Pin
Craig G Fraser17-Jan-05 23:42
Craig G Fraser17-Jan-05 23:42 
GeneralIP Input Custom Control Pin
Hercules0116-Jan-05 1:26
Hercules0116-Jan-05 1:26 
GeneralRe: IP Input Custom Control Pin
Judah Gabriel Himango16-Jan-05 12:33
sponsorJudah Gabriel Himango16-Jan-05 12:33 
GeneralNetworkStream Pin
alexiev_nikolay15-Jan-05 23:58
alexiev_nikolay15-Jan-05 23:58 
GeneralRe: NetworkStream Pin
Heath Stewart16-Jan-05 9:42
protectorHeath Stewart16-Jan-05 9:42 
GeneralShortcut Keys Pin
egyseiko15-Jan-05 22:49
egyseiko15-Jan-05 22:49 
GeneralRe: Shortcut Keys Pin
alexiev_nikolay16-Jan-05 0:03
alexiev_nikolay16-Jan-05 0:03 
GeneralRe: Shortcut Keys Pin
egyseiko16-Jan-05 1:38
egyseiko16-Jan-05 1:38 

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.