public VcapClientResult Target(string uri) { var helper = new MiscHelper(credMgr); if (uri.IsNullOrWhiteSpace()) { return helper.Target(); } else { Uri tmp; if (Uri.TryCreate(uri, UriKind.Absolute, out tmp)) { return helper.Target(tmp); } else { return helper.Target(new Uri("http://" + uri)); } } }
public VcapClientResult Info() { var helper = new MiscHelper(credMgr); return helper.Info(); }