This class serializes and deserializes the class that is passed to the CoreLoad module containing information about the user library to load. Wrapping the serialization and deserilization in a class allows us to modify the implementation or extend it without being forced to make code changes. For example, previously it was using the BinaryFormatter in the RemoteHooking class. Now we can swap that out if we want in the future easily.
Renamed the "Library" class examples to "EntryPoint" since that better describes the use of the hooking class instead of a using a generic name that doesn't give much information.
Renamed the CoreHook.Examples class "Utilities" to "ModulePathHelper" since that provides a better name for what it's used for, which is finding the paths for the native modules like corehook and corerundll, required for using the CoreHook examples.
This class serializes and deserializes the class that is passed to the CoreLoad module containing information about the user library to load. Wrapping the serialization and deserilization in a class allows us to modify the implementation or extend it without being forced to make code changes. For example, previously it was using the BinaryFormatter in the RemoteHooking class. Now we can swap that out if we want in the future easily.
Renamed the "Library" class examples to "EntryPoint" since that better describes the use of the hooking class instead of a using a generic name that doesn't give much information.
Renamed the CoreHook.Examples class "Utilities" to "ModulePathHelper" since that provides a better name for what it's used for, which is finding the paths for the native modules like corehook and corerundll, required for using the CoreHook examples.