DevicePortal.FinalizeUrl(String) Method

Definition

This Utility method finalizes the URL and formats the HTTPS string if needed.

C++
public:
 static System::String ^ FinalizeUrl(System::String ^ targetUrl);

Parameters

targetUrl
String

The target URL i.e. 128.128.128.128

Returns

The finalized URL with http/https prefix.

Remarks

Local Machine will be changed to 127.0.0.1:10080 for HoloLens connections.

Applies to

Produkt Versioner
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0