Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: ee0bc0d176
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (19 sloc) 0.413 kb
using System;
using System.Net;
public class A : MarshalByRefObject
{
public void test()
{
Dns.GetHostByName("localhost");
}
public static void Main()
{
Console.WriteLine("aaa");
Dns.GetHostByName("localhost");
Console.WriteLine("bbb");
AppDomain domain = AppDomain.CreateDomain("aaa");
A a = (A)domain.CreateInstanceAndUnwrap(typeof(A).Assembly.FullName,
typeof(A).FullName);
a.test();
}
}
Jump to Line
Something went wrong with that request. Please try again.