Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8665047
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T17:23:22+00:00 2026-06-12T17:23:22+00:00

I can do it manually by right-clicking on a network connection, opening the Sharing

  • 0

I can do it manually by right-clicking on a network connection, opening the Sharing tab, clicking on the “Allow other network users to connect through this computer’s Internet connection” check box, and selecting a “Home networking connection”.

While poking around this problem I have found multiple sets of COM interfaces:

1) Internet Connection Sharing and Internet Connection Firewall Interfaces with INetSharingManager

Its documentation says:

Internet Connection Firewall may be altered or unavailable in
subsequent versions. Instead, use the Windows Firewall API.

Moreover, the INetSharingConfiguration.EnableSharing method does not look like it corresponds the procedure described above because its arguments don’t include the “Home networking connection”.

2) Windows Firewall for Windows XP with SP2 Interfaces

Its documentation references us further:

For Windows Vista and later, use of the Windows Firewall with Advanced
Security API is recommended.

3) Windows Firewall with Advanced Security API

There are only the following interfaces: INetFwPolicy2, INetFwProduct, INetFwProducts, INetFwRule, INetFwRule2, INetFwRule3, INetFwRules, INetFwServiceRestriction. Does not look very promising.

Now I’m lost. Which API should I use on Windows 7?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T17:23:23+00:00Added an answer on June 12, 2026 at 5:23 pm

    utapyngo

    Which is your final choice?

    http://social.msdn.microsoft.com/Forums/en-tw/windowssdk/thread/19f7581d-29c7-4109-85d4-6a79ee4d1577

    “I was able to find the solution. You have to enable the public interface on the adapter you are connecting to and enable sharing on the private interface for the adapter you want to be able to use for the network.”

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How can I manually trigger a right click using Javascript? I can do this
I can connect manually by doing: M-x sql-postgres and type the User, Database, Host,
I've built an Authenticator, I've built a SyncAdapter (both can be manually executed through
right now users can log into devise with their email & password. Problem is
I know that we can manually parse the htaccess group file with REMOTE_USER to
How can I manually set a position with some code? Ok Ive got some
we have a simple REST request that I can use manually on my Mac
How can I handle manually the 404 error in C#? I want to check
I can create database manually by going to cpanel. But I'd like to create
I know that i can enter/add new properties via code manually into partial classes

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.