Click here to Skip to main content
15,844,754 members
Home / Discussions / C#
   

C#

 
QuestionGetting Max of an attribute value from Entity Collection Pin
indian1433-Feb-12 9:52
indian1433-Feb-12 9:52 
AnswerRe: Getting Max of an attribute value from Entity Collection Pin
Tim Groven3-Feb-12 9:57
Tim Groven3-Feb-12 9:57 
AnswerRe: Getting Max of an attribute value from Entity Collection Pin
BillWoodruff4-Feb-12 12:00
professionalBillWoodruff4-Feb-12 12:00 
QuestionHelp with p/invoking iphlpapi.dll Pin
CCodeNewbie3-Feb-12 6:55
CCodeNewbie3-Feb-12 6:55 
AnswerRe: Help with p/invoking iphlpapi.dll Pin
PIEBALDconsult3-Feb-12 8:40
mvePIEBALDconsult3-Feb-12 8:40 
AnswerRe: Help with p/invoking iphlpapi.dll Pin
Luc Pattyn3-Feb-12 8:46
sitebuilderLuc Pattyn3-Feb-12 8:46 
GeneralRe: Help with p/invoking iphlpapi.dll Pin
CCodeNewbie3-Feb-12 10:45
CCodeNewbie3-Feb-12 10:45 
GeneralRe: Help with p/invoking iphlpapi.dll Pin
PIEBALDconsult3-Feb-12 12:25
mvePIEBALDconsult3-Feb-12 12:25 
Perhaps use a Regular Expression:

C:\Projects\Utilities>regex "^(?'Proto'\S+)\s+(?'LocalIP'[^:]+): ( ?'LocalPort'\S+)\s+(?'ForeignIP'[^:]+): ( ?'ForeignPort'\S+)\s+(?'State'\S+)\s+(?'PID'\S+)$" "TCP    10.37.47.44:40091      hcc-l-sqld-001:1952    ESTABLISHED     8808"
0 = TCP    10.37.47.44:40091      hcc-l-sqld-001:1952    ESTABLISHED     8808
Proto = TCP
LocalIP = 10.37.47.44
LocalPort = 40091
ForeignIP = hcc-l-sqld-001
ForeignPort = 1952
State = ESTABLISHED
PID = 8808


Only tested a little bit with a very simple utility.


Edit: Some spacing added to avoid smilies. Mad | :mad:

modified 3-Feb-12 17:39pm.

AnswerRe: Help with p/invoking iphlpapi.dll Pin
Luc Pattyn3-Feb-12 16:40
sitebuilderLuc Pattyn3-Feb-12 16:40 
GeneralRe: Help with p/invoking iphlpapi.dll Pin
jschell4-Feb-12 10:47
jschell4-Feb-12 10:47 
AnswerRe: Help with p/invoking iphlpapi.dll - Going in circles Pin
CCodeNewbie5-Feb-12 3:05
CCodeNewbie5-Feb-12 3:05 
AnswerRe: Help with p/invoking iphlpapi.dll - Going in circles Pin
Luc Pattyn5-Feb-12 4:25
sitebuilderLuc Pattyn5-Feb-12 4:25 
GeneralRe: Help with p/invoking iphlpapi.dll - Going in circles Pin
CCodeNewbie6-Feb-12 6:57
CCodeNewbie6-Feb-12 6:57 
AnswerRe: Help with NETSTAT output Pin
Luc Pattyn6-Feb-12 7:25
sitebuilderLuc Pattyn6-Feb-12 7:25 
GeneralRe: Help with NETSTAT output Pin
CCodeNewbie6-Feb-12 10:23
CCodeNewbie6-Feb-12 10:23 
AnswerRe: Help with NETSTAT output Pin
Luc Pattyn6-Feb-12 10:55
sitebuilderLuc Pattyn6-Feb-12 10:55 
GeneralRe: Help with NETSTAT output Pin
CCodeNewbie6-Feb-12 11:35
CCodeNewbie6-Feb-12 11:35 
QuestionSerialPort.Close() hanging Pin
__John_3-Feb-12 6:13
__John_3-Feb-12 6:13 
AnswerRe: SerialPort.Close() hanging Pin
jschell3-Feb-12 11:57
jschell3-Feb-12 11:57 
GeneralRe: SerialPort.Close() hanging Pin
__John_5-Feb-12 23:20
__John_5-Feb-12 23:20 
QuestionBest method for putting a wait Pin
Subin Mavunkal2-Feb-12 22:08
Subin Mavunkal2-Feb-12 22:08 
AnswerRe: Best method for putting a wait Pin
OriginalGriff2-Feb-12 22:18
mveOriginalGriff2-Feb-12 22:18 
GeneralRe: Best method for putting a wait Pin
Subin Mavunkal2-Feb-12 22:26
Subin Mavunkal2-Feb-12 22:26 
AnswerRe: Best method for putting a wait Pin
OriginalGriff2-Feb-12 22:40
mveOriginalGriff2-Feb-12 22:40 
AnswerRe: Best method for putting a wait Pin
BobJanova3-Feb-12 5:48
BobJanova3-Feb-12 5:48 

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.