Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. is this my ocx certainly?

is this my ocx certainly?

Scheduled Pinned Locked Moved C#
hardwarehelpquestion
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mersad00
    wrote on last edited by
    #1

    Hi all, I feel worriness about my hardware lock (copyright protecter) refrence in my project! imagine that I have a project which refrenced an assembly, as we know assmblies must be registered by regsvr32... now if someone register cracked assembly what happend? Is there any way to force project use certain assembly? i heard about crc checking... but no recource for this reason! pleeeeeaaseeeeeee help me on this :confused:

    L T 2 Replies Last reply
    0
    • M mersad00

      Hi all, I feel worriness about my hardware lock (copyright protecter) refrence in my project! imagine that I have a project which refrenced an assembly, as we know assmblies must be registered by regsvr32... now if someone register cracked assembly what happend? Is there any way to force project use certain assembly? i heard about crc checking... but no recource for this reason! pleeeeeaaseeeeeee help me on this :confused:

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      mersad00 wrote:

      now if someone register cracked assembly what happend?

      That depends on a lot of factors, but in general, it's like stealing a car. There's a huge checklist on security on MSDN, but this would be the most relevant part for the moment;

      MSDN[^]

      Strong named assemblies are signed with a digital signature. This protects the assembly from modification. Any tampering causes the verification process that occurs at assembly load time to fail. An exception is generated and the assembly is not loaded.

      I are Troll :suss:

      1 Reply Last reply
      0
      • M mersad00

        Hi all, I feel worriness about my hardware lock (copyright protecter) refrence in my project! imagine that I have a project which refrenced an assembly, as we know assmblies must be registered by regsvr32... now if someone register cracked assembly what happend? Is there any way to force project use certain assembly? i heard about crc checking... but no recource for this reason! pleeeeeaaseeeeeee help me on this :confused:

        T Offline
        T Offline
        T M Gray
        wrote on last edited by
        #3

        Are you talking about C#? Assemblies are not registered with regsvr32. If anything they are registered with gacutil. You do realize that anyone can get the source of a C# DLL using reflector right?

        M 1 Reply Last reply
        0
        • T T M Gray

          Are you talking about C#? Assemblies are not registered with regsvr32. If anything they are registered with gacutil. You do realize that anyone can get the source of a C# DLL using reflector right?

          M Offline
          M Offline
          mersad00
          wrote on last edited by
          #4

          look for example my application uses lpl.ocx ... well now I want to be sure that this lpl.ocx is the true one like this

          assemblycheck c=new assemblycheck;
          //lpl.ocx is assembly name and 193718378378937937732 is crc number or digitally sign
          if(!c.check("lpl.ocx","193718378378937937732"))
          ///cracked assmbly

          actually i need a way to check current assembly used in my application that could check assembly in c# code with digital signed number as I mentioned. thank you

          T 1 Reply Last reply
          0
          • M mersad00

            look for example my application uses lpl.ocx ... well now I want to be sure that this lpl.ocx is the true one like this

            assemblycheck c=new assemblycheck;
            //lpl.ocx is assembly name and 193718378378937937732 is crc number or digitally sign
            if(!c.check("lpl.ocx","193718378378937937732"))
            ///cracked assmbly

            actually i need a way to check current assembly used in my application that could check assembly in c# code with digital signed number as I mentioned. thank you

            T Offline
            T Offline
            T M Gray
            wrote on last edited by
            #5

            MD5 is more often used for verifying that files have not been tampered with. CRC is typically for verifying transmission of data. Calculate md5 checksum/[^]

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups