LPT ports in C#
i'd like to do some instruction while one of pins of LPT port is on. 

I was trying to do something like that:

When LPT port 379 (889 dec) is different from dec 120 then stop doing part of code. 

    while ((PortAccess.Output(889,120))

Don't know how to do it. I was trying to do something with construction:

    while ((PortAccess.Equals())

but you need to compare 2 objects.. 

I know it must be very simple solution fot this problem.. :)


  
LPT ports in C#
===

i'd like to do some instruction while one of pins of LPT port is on. 

I was trying to do something like that:

When LPT port 379 (889 dec) is different from dec 120 then stop doing part of code. 

    while ((PortAccess.Output(889,120))

Don't know how to do it. I was trying to do something with construction:

    while ((PortAccess.Equals())

but you need to compare 2 objects.. 

I know it must be very simple solution fot this problem.. :)


  