• 0

[C#] File Digital Signatures/Verification


Question

So, for work I am developing an entire framework completely written in C#, though with the way it is written, I support the loading of DLLs written in any .NET 4 language (VB.Net, C++.Net, etc). The way it is written would be similar to Android, or iOS in such that people (customers) can create their own modules (dlls) and publish them in a market, download modules, etc, etc.

The way it is written is that I have a framework of DLLs which hold 90% of the functions, loading addons, network connection clsses, basically things that modules can have access to without having to re-write an entire class to support it each time. This also allows for me to update 1 DLL and have the change reflect on all modules that reference it.

There is then a base program which generates instances of classes, and provides the graphical interface for modules to be loaded into. What I want to do, is more or less verify the framework DLL's and verify the modules that I have written, as I include an Author as part of the module, I need to ensure that the Author is who the program says it is. Modules are fully controlled by the server so I am not worried about copying DLL files, though I would like to add in some form of protection to them. I am considering having random bytes throughout the DLL hold parts of the registered serial when the module is downloaded from the server.

So, in essence my question is two parts, I have searched on google but couldn't find anything related to what I want.

Part 1. A way to read a digital signature on the framework DLL files to validate the Authenticity of them, if this is not possible, then lump it with part 2.

Part 2. A way to protect / link DLLs to a specific registered copy of the core program. As the modules themselves aren't licensed, I need to figure out a way to sign them (however I would need a way to check the signature programatically), or have them be checked for

a) Validity

b) The core they are linked to when downloaded (to prevent copying). As I say it is server controlled, but cut the internet connection and there is no way to validate. Due to the nature of the market this is for, not everyone has an active internet connection, and those that do can be veyr tightly controlled, so a pure internet requirement is not possible.

0 answers to this question

Recommended Posts

There have been no answers to this question yet

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • You said "not great" but mentioned 2 positive experiences...
    • Finally some article that flips the script on the rage baiting, click baiting and hate mongering by Neowin in recent years. It works for you as a website, but it's completely wrong when considering real usage. Yes, it works just fine if you install it on unsupported machines with Rufus or Ventoy, no downsides.
    • 0 chance of that happening, forget it. Get it installed by some tech guy or do it yourself with the bypasses, that's how MS is being lenient and looking the other way to give users a chance.
    • Ooooooh, now we got the big tech corps fighting
    • Segra 1.6.3 by Razvan Serea Segra is a free, open-source OBS-powered game recorder offering fast gameplay capture, instant clips, AI highlights, deep game integration, and seamless uploads—perfect for gamers, streamers, and content creators. Lightweight, fast, zero bloat. Segra key features: Automatic Game Recording: Begin capturing gameplay the moment your game launches, with zero manual setup. Instant Clipping: Save important moments instantly using a customizable hotkey—perfect for highlights, montages, or quick shares. Segra AI Highlights: Let Segra automatically detect kills, assists, deaths, and key events to generate polished highlight reels without manual editing. Gameplay Uploads: Upload recordings and clips directly to Segra.tv for fast sharing and cloud access. Deep Game Integration: Enjoy advanced game-data tracking across hundreds of supported titles, enabling smart highlight generation and stat-informed clipping. High-Performance Capture: Record up to 4K at 144 FPS using OBS-powered technology with minimal performance impact, supporting NVENC, AMD VCE, and custom quality controls. Segra Editor: Edit recordings easily with timeline controls, segment management, and event-based navigation to build the perfect clip. Customization Options: Adjust hotkeys, output formats, storage paths, codecs, capture quality, and performance settings for a tailored recording experience. Segra 1.6.3 changelog: Recording: Reworked the whitelist/blacklist into per-game recording with individual setting overrides. Settings: Added Windows Game Mode and Startup window mode options. Audio: Improved noise suppression for microphone capture. Clips: Added a separate export mode for segment clips. Updates: Fixed pending update state not showing by replaying it when the frontend reconnects. Recording: Fixed an issue where audio could break or sources could linger between recordings. Stability: Fixed a rare crash that could happen when a game closed. Settings: Fixed settings not applying correctly on some non-English systems. Download: Segra 1.6.3 | 74.5 MB (Open Source) View: Segra Homepage | Github | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
  • Recent Achievements

    • Apprentice
      jahara21 went up a rank
      Apprentice
    • Reacting Well
      NovaEdgeX earned a badge
      Reacting Well
    • Week One Done
      NovaEdgeX earned a badge
      Week One Done
    • One Year In
      BA the Curmudgeon earned a badge
      One Year In
    • Conversation Starter
      rosiecharles earned a badge
      Conversation Starter
  • Popular Contributors

    1. 1
      +primortal
      529
    2. 2
      +Edouard
      263
    3. 3
      PsYcHoKiLLa
      148
    4. 4
      Steven P.
      96
    5. 5
      macoman
      59
  • Tell a friend

    Love Neowin? Tell a friend!