Security Software review and downloads
  • Home
  • Spyware & Spyware Remover
  • Registry & Registry Cleaner
  • Firewall
  • Hacked
  • Uninstall & Uninstaller
  • Antivirus

(vb 2008)Is it possible to convert a .exe or .dll to bytes?

September 5th, 2009 · 1 Comment

I have a client program on one computer and server on the other.
What I want to do is send the .dll from the client to the server so that the server can put it in it’s local folder and read from it.

So my question is:
Is it possible to convert a .dll into bytes, send it over to the server, then have the server turn the bytes into a .dll file and put it in the local folder and read it?

(by the way, i already have the code for sending the bytes, i just dont know how to convert)

Related posts:

  • "There are Currently No Logon Server" - Windows 2003 Error?
  • I am running Windows 2003 RC2, I have setup an AD and DNS , I Turn on any client(PC) in...
  • How to connect to a java socket server that is behind a firewall?
  • Hi! I'm working on a java based chat program. It has a server and a client. The...
  • Symantec Antivirus Corp Edition 8.0
  • I have reinstall the above into my Win Server 2003. The reason we use version 8.0 is...
  • Local server folder security?
  • We have a local server in the company where we keep some common files that many different...
  • how do I turn off t heword verification spam guard when sending an email?
  • I can't read any of the word verifications to send emails and I need to turn this...
  • Client + Server Antivirus?
  • I'm running a small network at home (1 server, 7 workstations). The server is DNS,...
  • while joining a server in counter strike 1.6 on net(G arena) i get a message sayin dat my .dll difrs frm srvr?
  • why does it happen?first it used to say my server has out dated.thn i downloaded...
  • My Computer Just Got Hacked?
  • Hello. I work at a School and two boys managed to gain my Administrator's password to...
  • SQL server ==> uninstall ???!@?#!?@?#$?^?$%?&%^&?
  • I'm getting an exception on sql server management. I read something on Microsoft...
  • How secure is this c# encryption algorithm? (if a salt were used)?
  • byte[] bytes = ASCIIEncoding.ASCII.GetBytes(textBox1.Text); int hash = 1; for (int...

    Tags: Dll


    1 response so far ↓

    • 1 LoverOfWine // Sep 5, 2009

      If you have the code for sending the information, then all you need to do is to read the file in, send the data over to the server and have it write it out, like you would any other file.

      This is an example of reading and writing the data in a binary file (which an exe or dll is).

      Dim inputPath As String
      Dim outputPath As String
      Dim input As New FileStream(inputPath, FileMode.Open,FileAccess.Read)
      Dim output As New FileStream(outputPath, FileMode.Create,FileAccess.Write)
      Dim count As Integer = 1024
      Dim buffer(count - 1) As Byte
      count = input.Read(buffer, 0, count)
      Do Until count = 0
      output.Write(buffer, 0, count)
      count = input.Read(buffer, 0, count)
      Loop
      input.Close()
      output.Close()

    Leave a Comment

    *
    To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
    Click to hear an audio file of the anti-spam word

    Tags: Email Spam Uninstall spyware Security Software Trend Micro Registry Cleaner Pc Tools Norton Nod32 Kaspersky Internet Security Hacked Firewall Computer Security Avg Avast Antivirus Ad Aware Monitoring Software Encryption Backup


    A Slow System?
    Harassed by DLL errors?
    Plagued by constant Blue Screens?
    Receiving error messages and don't know why?

     
    • Most popular Software downloads

      • Pctools
      • kaspersky
    About | Contact Us | Old Sitemap Security Software review and download . All rights reserved PoweredBy Yahoo!API.