DevicePortal.FinalizeUrl(String) Method

Definition

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

public:
 static System::String ^ FinalizeUrl(System::String ^ targetUrl);
public static string FinalizeUrl (string targetUrl);
static member FinalizeUrl : string -> string
Public Shared Function FinalizeUrl (targetUrl As String) As String

Parameters

targetUrl
String

The target URL i.e. 128.128.128.128

Returns

String

The finalized URL with http/https prefix.

Remarks

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

Applies to