Skip to content

Conversation

DorCoMaNdO
Copy link

@DorCoMaNdO DorCoMaNdO commented Jan 10, 2022

Currently contains:

  1. Better naming conventions.
  2. Extracted nested types.
  3. Improved usability (currently mostly with static filters, specifically "transport" filters).

To-do:

  • Further refactoring to use C# types over custom types where possible (ex: less conversions between IPAddress and custom IPv4/6 types).
  • Namespace refactoring.
  • Improve the creation and management of all filter types.
  • Tests.
  • Cleanup.
  • Samples.

This PR will be updated further while I'm working on my project utilizing this API.

Note: This PR currently uses my .editorconfig rules (stuff like explicit type name over var), if desired, once finalized I could revert some of those preference-driven changes.

- Better naming conventions.
- Extracted nested types.
- Improved usability (currently mostly with static filters, specifically "transport" filters).
Changed Native.NdisApi visibility to internal.
Changed multiple properties and methods to static as they did not access instance members.
Updated .gitignore
… .NET single-file publishing.

Fixed driver version reading not working when running a client as x86.
Renamed FilterFields to StaticFilterFields and FilterFlags to FilterFields.
Removed files of merged enums.
Renamed files to match updated class names.
Moved some classes to the NdisApiDotNet.Filters namespace.
Moved constant and static read-only fields to new static class Consts.
Renamed Native.NdisApi to Imports.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant