Guilherme Longo
Guilherme Longo

Reputation: 2308

Getting ApplicationName

Can´t find a way to get my ApplicationName. Found a static method to get and set app name but I am not sure how to use it.

Upvotes: 0

Views: 1883

Answers (1)

Guilherme Longo
Guilherme Longo

Reputation: 2308

Found a very simple way to retrieve my application name:

SqlMembershipProvider msmp = new SqlMembershipProvider();
string appName = msmp.ApplicationName.ToString();

;O)

Upvotes: 1

Related Questions