I was recently asked via an e-mail from a user of my Lanscan app how to obtain DHCP information from a Windows Store app.
DhcpRequestParams and related Win32 APIs are part of the Windows Store partition of the Win32 API and so are callable from C#-based Windows Store apps (and probably other places too).
Here are Gists of the relevant p/invoke and interop declarations you’ll need in order to call these functions from your C# programs:
All content © 2017 Richard Cook. All rights reserved.