HTMLAnchorElement.Hostname

HTMLAnchorElement.Hostname property

获取或设置关联 URL 的主机段的字符串表示。

public string Hostname { get; set; }

也可以看看