Revit 2026 API
ApplicationGet |
Gets the list of all Revit Server Network hosts in current session.
Namespace: Autodesk.Revit.ApplicationServices
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public IList<string> GetRevitServerNetworkHosts()
Public Function GetRevitServerNetworkHosts As IList(Of String)
public: IList<String^>^ GetRevitServerNetworkHosts()
member GetRevitServerNetworkHosts : unit -> IList<string>
Return Value
IListStringAn array of names of all Revit Server Network hosts in current session.

The list of Revit Server Network hosts is stored externally in the RSN[version].ini file.
See Also