C# Display Epicor login dialog?

Hi All,
I need to prompt the users of a stand alone app. to login, instead of hard coding username, password .
Is there a way to show the login window and retrieve the session once logged in?
Any help appreciated,

Are you actually on version E9?

If you’re on a version of 10 that supports REST, you may be able to make a call to REST.

Current version is 9.05.700B.

If it is an external app, then you just make the login screen and pass that to the session call.

Thank you all.

Is it possible to past username, job number, part number, to an external app as well?.i am thinking of rehashing some code in our system.