/// <summary> /// Gets info about State of the Connection Profile /// </summary> /// <param name="Name">Name of Connection Profile</param> /// <returns>String with State of the Connection Profile</returns> public string GetProfileState(string Name) { ConnectionProfile info = FindProfile(Name); if (info == null) { Logger.Log("There is no profile with name " + Name); return(""); } Logger.Log("GetProfileType of " + Name); return(info.GetState(AddressFamily.IPv4).ToString()); }