16 Temmuz 2018 Pazartesi

AppDomainSetup Sınıfı

Örnek
Şöyle yaparız.
var domainSetup = new AppDomainSetup()
{
  ShadowCopyDirectories = "true",
  ShadowCopyFiles = "true",
  ApplicationName = Assembly.GetExecutingAssembly().ManifestModule.ScopeName,
  DynamicBase = assemmblyDir,
  LoaderOptimization = LoaderOptimization.MultiDomainHost,
};
_domain = AppDomain.CreateDomain("Isolated:" + Guid.NewGuid(), null, domainSetup);

Hiç yorum yok:

Yorum Gönder