Esempio n. 1
0
		/// <summary>
		/// Returns the string form of this <see cref="Realm"/>.
		/// </summary>
		/// <returns>
		/// A <see cref="T:System.String"/> that represents the current <see cref="T:System.Object"/>.
		/// </returns>
		public override string ToString() {
			if (this.DomainWildcard) {
				UriBuilder builder = new UriBuilder(this.uri);
				builder.Host = "*." + builder.Host;
				return builder.ToStringWithImpliedPorts();
			} else {
				return this.uri.AbsoluteUri;
			}
		}