Skip to main content
ConnectionProfile.GetSignalBars | getSignalBars method

Applies to Windows and Windows Phone

Gets a value that indicates the current number of signal bars displayed by the Windows UI for the connection.

Syntax


var iReference = connectionProfile.getSignalBars();

public Nullable<byte> GetSignalBars()

Public Function GetSignalBars() As Nullable(Of Byte)

public:
IReference<unsigned char>^ GetSignalBars()

Parameters

This method has no parameters.

Return value

Type: IReference<Byte> [JavaScript/C++] | System.Nullable<Byte> [.NET]

An integer value within a range of 0-5 that corresponds to the number of signal bars displayed by the UI.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Networking.Connectivity
Windows::Networking::Connectivity [C++]

Metadata

Windows.winmd

See also

ConnectionProfile