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