Exemple #1
0
        /// <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);
            }
        }
Exemple #2
0
        private void CloseNMAPI()
        {
            ulong errno = NetmonAPI.NmApiClose();

            if (errno != 0)
            {
                Console.WriteLine("Error unloading NMAPI Error Number = " + errno);
            }
        }