Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7669267
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T15:33:22+00:00 2026-05-31T15:33:22+00:00

Q. How can I reuse in WPF the security features provided by the Windows

  • 0

Q. How can I reuse in WPF the security features provided by the Windows credentials dialog (WinForms32)?

Brainstorm (not sure if any of these are possible):

  1. Host the WinForms32 dialog inside my own WPF dialog. MSDN has an article that explains how to host a WinForms control (i.e., textbox, etc.) but not a WinForms dialog. Yes, this will be ugly, but we’re not worried about looks right now.

  2. Provide a WPF GUI that wraps the WinForms dialog. Upon login, the WPF username textbox and WPF SecurePassword textbox are transferred to their WinForms equivalent under the covers. The moving of sensitive data might pose a security risk (but some may argue that the attacker has plenty of other ways to steal your password).

  3. Move the WinForms username and password textboxes to the WPF dialog (“re-parent” the existing textboxes).

Any suggestions/comments (including criticism of my ideas) are appreciated!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T15:33:23+00:00Added an answer on May 31, 2026 at 3:33 pm

    You can just show WinForms dialog in WPF application the same way you do it in regular WinForms application and it just works. For example WPF does not have FolderBrowserDialog but we use WinForms version of this dialog and it works ok.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How would I store the result of a select statement so I can reuse
I use this code to update data in database table. Can reuse same code
How can I reuse the application icon from within my application so I don't
How can we re-use the deleted id from any MySQL-DB table? If I want
Any code can be reused in a way or an other, at least if
Can anyone (maybe an XSL-fan?) help me find any advantages with handling presentation of
I've developed a c# control, and I can reuse this in other c# apps
I know TextBox/TextBlock already support text word wrap very well. (Windows WPF) the question
How can you access WPF's built-in styles/templates? For example I'm trying to move the
How can I create a html snippet that I can reuse across multiple template

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.