public void ServerPing(string serverAddress, int port) { byte[] numArray = (byte[])null; if (serverAddress != null) { numArray = CallbackStringBufferManager.StringBuffer0; int bytes = ScriptingInterfaceOfIMBNetwork._utf8.GetBytes(serverAddress, 0, serverAddress.Length, numArray, 0); numArray[bytes] = (byte)0; } ScriptingInterfaceOfIMBNetwork.call_ServerPingDelegate(numArray, port); }