utapyngo / icsmanager

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does not work for "Broadband Connection" type PPP dial-in interfaces

Rigel88 opened this issue · comments

Name .......... : Broadband Connection
GUID .......... : {4C5FB441-3233-410B-A094-1D235A16CED1}
Status ........ : Up
InterfaceType . : Ppp
Unicast address : 109.162.51.153/255.255.255.255
Gateway ....... : 0.0.0.0
Device ........ : WAN Miniport (PPPOE)
SharingType ... : ICSSHARINGTYPE_PUBLIC

c:\temp>icsmanager enable {4C5FB441-3233-410B-A094-1D235A16CED1} {FA293CE9-EE7A-4024-BBB2-D1CE0EAFDAFD} [forced]

Unhandled Exception: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at NETCONLib.INetSharingConfiguration.EnableSharing(tagSHARINGCONNECTIONTYPE Type)
at IcsManagerLibrary.IcsManager.ShareConnection(INetConnection connectionToShare, INetConnection homeConnection)
at IcsManagerConsole.Program.EnableICS(String shared, String home, Boolean force)
at IcsManagerConsole.Program.Main(String[] args)