Click here to Skip to main content
15,915,611 members
Home / Discussions / C#
   

C#

 
Question[Message Deleted] Pin
lulu044114-Jun-06 8:12
lulu044114-Jun-06 8:12 
AnswerRe: Administrative system of parking tower Pin
David Crow14-Jun-06 8:19
David Crow14-Jun-06 8:19 
GeneralRe: Administrative system of parking tower Pin
lulu044115-Jun-06 5:30
lulu044115-Jun-06 5:30 
GeneralRe: Administrative system of parking tower Pin
David Crow15-Jun-06 5:41
David Crow15-Jun-06 5:41 
AnswerRe: Administrative system of parking tower Pin
Josh Smith14-Jun-06 8:33
Josh Smith14-Jun-06 8:33 
AnswerRe: Administrative system of parking tower Pin
Dan Neely14-Jun-06 9:30
Dan Neely14-Jun-06 9:30 
GeneralRe: Administrative system of parking tower Pin
Josh Smith14-Jun-06 9:49
Josh Smith14-Jun-06 9:49 
QuestionNat Traversal Problem Pin
snouto14-Jun-06 8:11
snouto14-Jun-06 8:11 
hello everybody .
iam testing NAT Traversal through UPNP technology to negotiate with the NAT Router and Firewall but there is a problem in the Com Component that iam using from microsoft Which is located at System32 in your windows installation folder called UPNP.dll and Hnetcfg.dll
the problem is that i always have the collection with value Null that is why i can't be able to iterate through all static ports and ip address in my router (iam using Dial up connection not DSL)
here is the code that raise the problem

<br />
using System;<br />
using NatUpnp;<br />
<br />
namespace SnoutoOverride<br />
{<br />
    class Nat<br />
   {<br />
        public Nat(){<br />
           <br />
           <br />
        }<br />
          <br />
         private void InitializeNat(){<br />
<br />
             IUpnpNat NatMgr = (IUpnpNat)new UpnpNatClass();<br />
  // **********          IStaticPortMappingCollection CurrentCollection = NatMgr.StaticPortMappingCollection;<br />
         <br />
             foreach(IStaticPortMapping portmap in CurrentCollection)<br />
                    {<br />
                          //iterate here through Available Port Mapping<br />
                     }<br />
         }<br />
   }<br />
}<br />


The line Of code that has the many asterisks has the problem in which this returned collection is always be null that is why i can't iterate through the available external ip addresses or ports . so is there any solution regarding that . AT Msdn explains that but it doesn't seem that this collection returned with value null with them at all . If this problem is solved the whole problem will be vanished.

Is there any Solutions Freaks.

Human knowledge belongs to the world.
AnswerRe: Nat Traversal Problem Pin
leppie14-Jun-06 23:47
leppie14-Jun-06 23:47 
GeneralRe: Nat Traversal Problem Pin
snouto15-Jun-06 0:26
snouto15-Jun-06 0:26 
QuestionCopy & Paste Problems in Win Forms Pin
gruszkad14-Jun-06 7:24
gruszkad14-Jun-06 7:24 
QuestionDataGridView Refresh Problems Pin
Melon0014-Jun-06 6:21
Melon0014-Jun-06 6:21 
AnswerRe: DataGridView Refresh Problems Pin
Mr. VB.NET14-Jun-06 7:14
Mr. VB.NET14-Jun-06 7:14 
GeneralRe: DataGridView Refresh Problems Pin
Office Lineman14-Jun-06 7:26
Office Lineman14-Jun-06 7:26 
QuestionShutdown Computer Through C Program. Pin
Droze14-Jun-06 6:14
Droze14-Jun-06 6:14 
AnswerRe: Shutdown Computer Through C Program. Pin
Jun Du14-Jun-06 7:04
Jun Du14-Jun-06 7:04 
GeneralRe: Shutdown Computer Through C Program. Pin
Droze14-Jun-06 7:24
Droze14-Jun-06 7:24 
GeneralRe: Shutdown Computer Through C Program. Pin
Jun Du14-Jun-06 7:28
Jun Du14-Jun-06 7:28 
GeneralRe: Shutdown Computer Through C Program. Pin
Droze14-Jun-06 7:46
Droze14-Jun-06 7:46 
GeneralRe: Shutdown Computer Through C Program. Pin
Droze14-Jun-06 8:06
Droze14-Jun-06 8:06 
GeneralRe: Shutdown Computer Through C Program. Pin
Dan Neely14-Jun-06 9:21
Dan Neely14-Jun-06 9:21 
AnswerRe: Shutdown Computer Through C Program. Pin
Droze14-Jun-06 9:32
Droze14-Jun-06 9:32 
AnswerRe: Shutdown Computer Through C Program. Pin
Koushik Biswas15-Jun-06 10:36
Koushik Biswas15-Jun-06 10:36 
QuestionReporting Service install problem... Pin
ersinsivaz14-Jun-06 6:01
ersinsivaz14-Jun-06 6:01 
AnswerRe: Reporting Service install problem... Pin
Suamal14-Jun-06 19:15
Suamal14-Jun-06 19:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.