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

  • Home
  • SEARCH
  • 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 8329723
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T01:53:22+00:00 2026-06-09T01:53:22+00:00

I am working on this C# Windows Application (.Net 3.5, VS 2008) for which

  • 0

I am working on this C# Windows Application (.Net 3.5, VS 2008) for which i have to create an exe file, No issues till now,
The application consumes the betfair exchange API, which requires to “LOGIN” first thing to obtain a session token for any other service,

So my team-leader expects me to deploy the application in such a way that-

  1. The Application should ask the client for Username and Password at installation time
  2. If the user enters Username and Password, the application launches directly every time and uses the supplied username and password to log
    in to the web service automatically.
  3. If the user does not enters USER/Pass at installation time,then after installation the application must ask for username password each
    time it is launched.

So my main query is:
How to get and store the username/password at installation time

i tried to write it in the app.config but it messes up with my web service settings somehow :/

  • 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-06-09T01:53:23+00:00Added an answer on June 9, 2026 at 1:53 am

    Just a couple of things to note.

    Firstly, app.config files are generally not considered secure media, so you shouldn’t be storing username/passwords in them (especially if they aren’t encrypted)

    A common place for storing these details in windows applications is inside the registry (which can be permissioned to reduce security risks).

    All passwords should be stored in an encrypted format. Unfortunately given that this needs to be used vs an external system this encryption will need to be reversible.

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

Sidebar

Related Questions

I am working on a mobile application in .NET. This is a windows mobile
I have made a small windows application with visual studio 2008 ,its working properly
I'm working on an Windows application(created in .NET) which one of its functions is
I have been working on ASP.net MVC3 Web application using MSSQL 2008 R2 for
We are working to certify our application for deployment on Windows Server 2008 and
I am developing a windows based application in .net. I have two forms. Form2
I'm hosting my REST services by an ASP.NET application on Windows Azure. It's working
I have an ASP.NET MVC application that I'm working on. I've been developing it
Possible Duplicate: .NET windows application, can it be compressed into a single .exe? I
Am working on a .net 2.0 windows application. The data access layer[DAL] executes stored

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.