Exception CreateException (string file, string msg) { return new InvalidOperationException (String.Format ("Unsupported (unexpected) '{0}' file format. ", file) + msg); } IPEndPoint [] GetLocalAddresses (List<string []> list)