8.7 C
Canberra
Tuesday, October 28, 2025

c# – Is it doable to implement NEPacketTunnelProvider in .NET for iOS or MAUI?


I’m engaged on implementing a customized PacketTunnelProvider community extension utilizing .NET. My objective is to copy the performance that I efficiently applied utilizing Swift in Xcode, however this time fully in .NET. Nonetheless, regardless of my efforts, the extension doesn’t run as anticipated. I’m is it doable in any respect.

Right here’s what I’ve finished up to now:

  1. I’ve applied a customized PacketTunnelProvider class in .NET utilizing the NetworkExtension.NEPacketTunnelProvider API.
  2. I’ve created the required App ID, App Teams, and Community Extension entitlements in my Apple Developer account.
  3. I’m testing the extension on a bodily iOS gadget (since Community Extensions usually are not supported on the iOS simulator).
  4. I’ve efficiently developed and examined the identical performance utilizing Swift and Xcode, so I’m assured that my entitlements and setup are right.
  5. I did similar in .NET however it appears to fail silently, and I can not discover any documentation or pattern tasks that show find out how to correctly implement a PacketTunnelProvider in .NET.

My particular questions are:

Is it doable to totally implement a PacketTunnelProvider community extension utilizing .NET for iOS or .MAUI?
If sure, are there any working examples for implementing such a community extension?

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

[td_block_social_counter facebook="tagdiv" twitter="tagdivofficial" youtube="tagdiv" style="style8 td-social-boxed td-social-font-icons" tdc_css="eyJhbGwiOnsibWFyZ2luLWJvdHRvbSI6IjM4IiwiZGlzcGxheSI6IiJ9LCJwb3J0cmFpdCI6eyJtYXJnaW4tYm90dG9tIjoiMzAiLCJkaXNwbGF5IjoiIn0sInBvcnRyYWl0X21heF93aWR0aCI6MTAxOCwicG9ydHJhaXRfbWluX3dpZHRoIjo3Njh9" custom_title="Stay Connected" block_template_id="td_block_template_8" f_header_font_family="712" f_header_font_transform="uppercase" f_header_font_weight="500" f_header_font_size="17" border_color="#dd3333"]
- Advertisement -spot_img

Latest Articles