Skip to content

Exception in GetConnectionById #3

@karlhiramoto

Description

@karlhiramoto

C:\Work\icsmanager\IcsManagerConsole\bin\Debug>IcsManager.exe
Name .......... : TAP Adapter
GUID .......... : {8C99866F-85F1-48EC-AE68-004B63DBFDB9}
Status ........ : Down
InterfaceType . : Ethernet
Device ........ : TAP-Win32 Adapter V9

Name .......... : Bluetooth Network Connection
GUID .......... : {6F8DB0F5-1A0E-4B69-9638-4532FDD28664}
Status ........ : Down
InterfaceType . : Ethernet
Device ........ : Bluetooth Device (Personal Area Network)

Name .......... : Local Area Connection
GUID .......... : {69F4A5E2-6164-4787-8A31-68471B4A287C}
Status ........ : Up
InterfaceType . : Ethernet
Unicast address : 10.64.1.3/255.255.255.0
Gateway ....... : 10.64.1.1
Device ........ : Realtek PCIe GBE Family Controller

Name .......... : Wireless Network Connection
GUID .......... : {623F5B2C-1069-4A44-895B-3F1EB4E3D330}
Status ........ : Up
InterfaceType . : Wireless80211
Unicast address : 10.129.40.76/255.0.0.0
Gateway ....... : 10.121.95.108

Unhandled Exception: System.Runtime.InteropServices.COMException: Error HRESULT E_FAIL has been returned from a call to a COM component.
at NETCONLib.INetConnectionProps.get_Guid()
at IcsManagerLibrary.IcsManager.<>c__DisplayClassd.b__c(INetConnection c) in C:\Work\icsmanager\IcsManagerLibrary\IcsManager.cs:line 86
at System.Linq.Enumerable.WhereEnumerableIterator1.MoveNext() at System.Linq.Enumerable.<DefaultIfEmptyIterator>d__a51.MoveNext()
at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
at IcsManagerLibrary.IcsManager.GetConnectionById(String guid) in C:\Work\icsmanager\IcsManagerLibrary\IcsManager.cs:line 85
at IcsManagerConsole.Program.Info() in C:\Work\icsmanager\IcsManagerConsole\Program.cs:line 44
at IcsManagerConsole.Program.Main(String[] args) in C:\Work\icsmanager\IcsManagerConsole\Program.cs:line 132

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions