Location.Origin

Location.Origin property

Returns the Location object’s URL’s origin.

public string Origin { get; }

See Also