SqlToGraphite.Plugin.Wmi.WmiClient.ConvertToInt C# (CSharp) 메소드

ConvertToInt() 공개 정적인 메소드

public static ConvertToInt ( string value ) : int
value string
리턴 int
        public static int ConvertToInt(string value)
        {
            var l = Convert.ToInt64(value);
            if (l > Int16.MaxValue)
            {
                l = l / 1024;
            }

            return Convert.ToInt32(l);
        }