BlackBerry Dynamics for .NET Maui  12.0.0.9
Runtime library for .NET Maui applications
BBDXamarinForms.Common.Interfaces.NetUtility.IBBDNetUtility Interface Reference

This class contains the programming interface for a network utility provided by the BlackBerry Dynamics proxy infrastructure. More...

Public Member Functions

void Nslookup (string host, BBDNslookupType type, BBDNslookupCallback callback)
 Call this function to execute a BlackBerry Dynamics name service lookup. The lookup can be for canonical name (CNAME) or address record (A record). More...
 
void SetWebProxyAppliedByApp (bool appliedByApp)
 The proxy configuration may be specified within the BlackBerry Dynamics management console using either a Proxy Auto-Configuration (PAC) file or manually. More...
 

Detailed Description

This class contains the programming interface for a network utility provided by the BlackBerry Dynamics proxy infrastructure.

Member Function Documentation

◆ Nslookup()

void BBDXamarinForms.Common.Interfaces.NetUtility.IBBDNetUtility.Nslookup ( string  host,
BBDNslookupType  type,
BBDNslookupCallback  callback 
)

Call this function to execute a BlackBerry Dynamics name service lookup. The lookup can be for canonical name (CNAME) or address record (A record).

The lookup will be executed from an enterprise end point of the BlackBerry Dynamics deployment to which the application is connected. The end point could be a BlackBerry Proxy server located behind the enterprise firewall or in its perimeter network (also known as DMZ, demilitarized zone, and screened subnet). Details for enterprise application servers could be in scope of the lookup, depending on the network configuration at the enterprise.

The lookup is asynchronous. When the lookup completes, a callback will be executed.

Parameters
hoststring containing the name to look up.
typeBBDNslookupType specifying the type of result required, either CNAME or A record.
callbackBBDNslookupCallback to execute when the lookup completes.

◆ SetWebProxyAppliedByApp()

void BBDXamarinForms.Common.Interfaces.NetUtility.IBBDNetUtility.SetWebProxyAppliedByApp ( bool  appliedByApp)

The proxy configuration may be specified within the BlackBerry Dynamics management console using either a Proxy Auto-Configuration (PAC) file or manually.

  • If appliedByApp set to true, the application should specify its own web proxy server to which web requests (HTTP, HTTPS) should be forwarded
  • If appliedByApp set to false, all web requests through the BlackBerry Dynamics proxy infrastructure will use the web proxy server configuration defined in the BlackBerry Dynamics management console (if any).

The runtime sets this property to false by default