uap4:Rule

Defines rules for inbound and outbound loopback connections.

Element hierarchy

<Package>

    <Applications>

         <Application>

              <Extensions>

                   <uap4:Extension>

                        <uap4:LoopbackAccessRules>

                             <uap4:Rule>

Syntax

<uap4:Rule
  Direction = 'A string that can have one of the following values: "in" or "out".'
  PackageFamilyName = 'A string with a value between 1 and 32767 characters in length with a non-whitespace character at its beginning and end.' >                  

Attributes and elements

Attributes

Attribute Description Data type Required Default value
Direction Specifies whether the connection will be inbound or outbound over loopback. A string that can have one of the following values: in or out. Yes
PackageFamilyName The package family name of the app to connect to. A string with a value between 1 and 32767 characters in length with a non-whitespace character at its beginning and end. Yes

Child elements

None.

Parent elements

Parent element Description
uap4:LoopbackAccessRules Contains rules for a loopback filter that enables communication between an app and a service.

Remarks

Loopback connections are supported only for TCP connections.

Note

The UDP protocol is not supported.

Requirements

Item Value
Namespace http://schemas.microsoft.com/appx/manifest/uap/windows10/4
Minimum OS Version Windows 10 version 1703 (Build 15063)