01-05 13:11
Notice
Recent Posts
Recent Comments
관리 메뉴

Scientific Computing & Data Science

Fetching IP Address in C# 본문

CG & Video Games/Unity 3D

Fetching IP Address in C#

cinema4dr12 2013. 5. 26. 12:12

using System;

using System.Net;

 

namespace ConsoleApplication4

{

    class Program

    {

        static void Main(string[] args)

        {

            IPHostEntry IPHost = Dns.GetHostByName(Dns.GetHostName());

            Console.WriteLine(IPHost.AddressList[0].ToString());

        }

    }

}

'CG & Video Games > Unity 3D' 카테고리의 다른 글

Script for an Object Clicked  (0) 2013.05.26
Script for Mobile Touch Scree  (0) 2013.05.26
Sending Commands Using RPC  (0) 2013.05.26
Script for Network Instantiate(JS)  (0) 2013.05.26
Script for Touch & Drag an Object  (0) 2013.05.26
Comments