So my Windows Server 2008 server with the local ip 192.168.100.1 and public ip 220.127.116.11 and with many open doors. I would like to communicate with this server from another computer of an ip 192.168.0.1 network.
OK, that doesn't say a whole lot. But, the suggestion I had before still stands. On your server-end you have to setup port forwarding so the router forwards the appropriate ports for your application that's listening on the server. On the client-side you don't have to do anything.
Getting access my server from outside of my network even used this example to transfer files, released the door and yes.
Now my biggest interest would connect another client outside my network and use my server as a repeater 192.168.100.1 . Example
PC 1: 192.168.10.20 - BRAZIL
PC 2: 192.168.50.50 - ARGENTINA
Thanks for listening.
Repeater for what?? This is the part you're not explaining. You're implying that your server is going to be transferring traffic to another server somewhere else. OK, so where is this other server? Is it behind a NAT like your server is? If so, it's going to have to have to setup port forwarding too, just like if it was expecting a client to connect to it.
As a matter of fact, your intermediate server has to be a server to an actual client and it also has to be a client to another normal server.
No , I was an alternative to turn the server on a repeater if I can create a p2p or other method to connect the two computers ( PC server " 192.168.0.2 ") and ( pc client " 192.168.10.5 " ) behind the nat would a better solution .
i have 2Dim Array, and have to store the Array-Values with the methode "uploadData"
I get this ErrorMsg.
"Cannot convert source type object[,] to target type object"
Can you tell me, whats wrong with this Code. Can i convert this Array to Target-Array?
object data = new object
dataImport.uploadData = (data); <= UploadData is awaiting Array-Format 
You can't convert a 2D array directly to a jagged array: they are very different.
A 2D array (say 3 columns of 5 rows of integers) is a block of memory 15 integers long, that is accessed via a row and column address:
A jagged array is something else: it's a 1D array of references to 1D arrays. So if ther are the same size:
myJaggedArray => Get the array at [myJaggedArray + (2 * sizeof(Reference))], then use it in [subArray + (4 * sizeof(int32))] to fetch the value.
You can't "magically" convert between them, because there are memory allocations that need to be done, and bounds checking that changes between them: a jagged array doesn't have to have all it's rows with the same number of columns.
If you want to convert you will have to write the code to allocate the new 1D array, allocate each of the row arrays yourself, and manually fill the appropriate cells.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
.Net framework 4.0 and upper require reboot after installation on windows checked on windows 7 both 64 and 32 bit.
My requirement is, I don't want to restart client PC after install .net framework 4.0.
Is there is any solution for this??
It is not new for 4.x...
In any case read this: Reducing System Restarts During .NET Framework 4.5 Installations[^]
If you integrate the framework installation into your own setup (using the chain installer mentioned there) you can say the end user (via UI), that some applications have to be closed to prevent restart, and provide better UX...
Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.
MSDN says "The .NET Framework setup will require a reboot when one of the files it needs to install is in use during installation. There are a handful of files that are shared by all versions of the .NET Framework, so if there is an earlier version of the .NET Framework installed on the system than the one that is currently being installed, and a managed application is running and holding one of the shared files in use, then a reboot could be required at the end of installation."
here are details[^]
I have Created one windows form Application in Visual Studio 2012 on Windows 7 64bit.
I used ClickOnce to build setup and Publish it on LocalHost(using IIS7). I also Used Certificate to solve Publisher Issue.
Now, when I install setup on another Machine(available in LAN), it display Unknown publisher. If I Install Certificate(setup -> Properties -> Digital Signature -> Certificate) then it display Publisher Name.
Is their any other way to install certificate automatically before setup screen(with Publisher name) popup?
Or is their any other way to define publisher name in setup.
I have used this Video tutorial to make ClickOnce setup trusted publishers.
I am talking about ClickOnce.
In that question, it's all about setup using InstallShield or Wix. I also tried it but not getting success to set publisher name. So do you have any suggestion to set publisher name? Please read question Again. I am using Clickonce and able to display Publisher Name in my machine. But when I install it in another machine it still display Unknown Publisher.