Package.SourceUriSchemeName Property

Definition

Contains the scheme part of the URI that was used to install the package.

public:
 property Platform::String ^ SourceUriSchemeName { Platform::String ^ get(); };
winrt::hstring SourceUriSchemeName();
public string SourceUriSchemeName { get; }
var string = package.sourceUriSchemeName;
Public ReadOnly Property SourceUriSchemeName As String

Property Value

String

Platform::String

winrt::hstring

Windows requirements

Device family
Windows 11 Insider Preview (introduced in 10.0.23504.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v15.0)

Remarks

Some common scheme examples:

Scheme Description
http Installed from a package hosted on a web server.
https Installed from a package hosted on a web server with SSL.
file Installed from a package on a local or network disk.

Applies to

See also