C Sharp Reference/System namespace/ActivationContext class/Identity property
public ApplicationIdentity Identity {get;}
Gets the identity of the current application.
Return value Edit
Returns an ApplicationIdentity object that identifies the current application.