XenAPI.HTTP.getResultCode C# (CSharp) Method

getResultCode() public static method

public static getResultCode ( string line ) : int
line string
return int
        public static int getResultCode(string line)
        {
            string[] bits = line.Split(new char[] { ' ' });
            return (bits.Length < 2 ? 0 : Int32.Parse(bits[1]));
        }