/// <summary> /// Called to close the Network Monitor API when we're done /// </summary> private static void CloseNMAPI() { ulong errno = NetmonAPI.NmApiClose(); if (errno != ERROR_SUCCESS) { Console.WriteLine("Error unloading NMAPI Error Number = " + errno); } }
private void CloseNMAPI() { ulong errno = NetmonAPI.NmApiClose(); if (errno != 0) { Console.WriteLine("Error unloading NMAPI Error Number = " + errno); } }