private void PreLoading(ref IP CurentPC) { CurentPC.OnGettingCurrentHostName += HostNameWasGot; CurentPC.OnGettingIpAddressCurentPC += IpAddressWasGot; CurentPC.OnGettingSubnetMask += SubnetMaskWasGot; CurentPC.OnGettingBroadcastAddressCurentNetwork += BroadcastAddressCurentNetworkWasGot; CurentPC.GetCurrentHostNameASYNC(); }