how should we handle MBN-related events in native environments such as Windows Native Service, MFC projects, and normal console apps?

Hunter 5 Reputation points
2023-08-08T01:14:25.4566667+00:00
   We have been using the Mobile Broadband API (MBN API) for our development. According to the information we obtained from the Microsoft website, it will be gradually replaced by the Windows Runtime API. In that case, how should we handle MBN-related events in native environments such as Windows Native Service, MFC projects, and normal console apps?

eg:

https://learn.microsoft.com/en-us/windows/win32/api/mbnapi/nn-mbnapi-imbnconnection

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
12,075 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,726 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,757 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Xiaopo Yang - MSFT 12,731 Reputation points Microsoft External Staff
    2023-08-08T02:17:04.7933333+00:00

    Hello @Hunter,

    It doesn't mean the Mobile Broadband API (MBN API) will be removed. It's recommended to use the Windows.Networking.Connectivity namespace.

    To use the Windows.Networking.Connectivity namespace in native environments, see Get started with C++/WinRT for more information.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.