How to get the default domain of a process

  • Thread starter Thread starter Ravichandra
  • Start date Start date
R

Ravichandra

Hi,

How do I get the default domaing of a process whose
apartment state is ApartmentState.STA?

TIA,
Ravichandra
 
Hi,

You can get the appdomain of the thread by using
Thread.GetDomain method.

Regards,
Madhu

MVP | MCSD.NET
 
is there any difference between current domain and default
domain for a thread of Apartmentstate.STA?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top