Click here to Skip to main content
15,887,485 members
Home / Discussions / C#
   

C#

 
QuestionGetting Max of an attribute value from Entity Collection Pin
indian1433-Feb-12 8:52
indian1433-Feb-12 8:52 
AnswerRe: Getting Max of an attribute value from Entity Collection Pin
Tim Groven3-Feb-12 8:57
Tim Groven3-Feb-12 8:57 
AnswerRe: Getting Max of an attribute value from Entity Collection Pin
BillWoodruff4-Feb-12 11:00
professionalBillWoodruff4-Feb-12 11:00 
QuestionHelp with p/invoking iphlpapi.dll Pin
CCodeNewbie3-Feb-12 5:55
CCodeNewbie3-Feb-12 5:55 
AnswerRe: Help with p/invoking iphlpapi.dll Pin
PIEBALDconsult3-Feb-12 7:40
mvePIEBALDconsult3-Feb-12 7:40 
AnswerRe: Help with p/invoking iphlpapi.dll Pin
Luc Pattyn3-Feb-12 7:46
sitebuilderLuc Pattyn3-Feb-12 7:46 
GeneralRe: Help with p/invoking iphlpapi.dll Pin
CCodeNewbie3-Feb-12 9:45
CCodeNewbie3-Feb-12 9:45 
GeneralRe: Help with p/invoking iphlpapi.dll Pin
PIEBALDconsult3-Feb-12 11:25
mvePIEBALDconsult3-Feb-12 11: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 15:40
sitebuilderLuc Pattyn3-Feb-12 15:40 
GeneralRe: Help with p/invoking iphlpapi.dll Pin
jschell4-Feb-12 9:47
jschell4-Feb-12 9:47 
AnswerRe: Help with p/invoking iphlpapi.dll - Going in circles Pin
CCodeNewbie5-Feb-12 2:05
CCodeNewbie5-Feb-12 2:05 
AnswerRe: Help with p/invoking iphlpapi.dll - Going in circles Pin
Luc Pattyn5-Feb-12 3:25
sitebuilderLuc Pattyn5-Feb-12 3:25 
GeneralRe: Help with p/invoking iphlpapi.dll - Going in circles Pin
CCodeNewbie6-Feb-12 5:57
CCodeNewbie6-Feb-12 5:57 
AnswerRe: Help with NETSTAT output Pin
Luc Pattyn6-Feb-12 6:25
sitebuilderLuc Pattyn6-Feb-12 6:25 
GeneralRe: Help with NETSTAT output Pin
CCodeNewbie6-Feb-12 9:23
CCodeNewbie6-Feb-12 9:23 
AnswerRe: Help with NETSTAT output Pin
Luc Pattyn6-Feb-12 9:55
sitebuilderLuc Pattyn6-Feb-12 9:55 
GeneralRe: Help with NETSTAT output Pin
CCodeNewbie6-Feb-12 10:35
CCodeNewbie6-Feb-12 10:35 
QuestionSerialPort.Close() hanging Pin
__John_3-Feb-12 5:13
__John_3-Feb-12 5:13 
AnswerRe: SerialPort.Close() hanging Pin
jschell3-Feb-12 10:57
jschell3-Feb-12 10:57 
GeneralRe: SerialPort.Close() hanging Pin
__John_5-Feb-12 22:20
__John_5-Feb-12 22:20 
QuestionBest method for putting a wait Pin
Subin Mavunkal2-Feb-12 21:08
Subin Mavunkal2-Feb-12 21:08 
AnswerRe: Best method for putting a wait Pin
OriginalGriff2-Feb-12 21:18
mveOriginalGriff2-Feb-12 21:18 
GeneralRe: Best method for putting a wait Pin
Subin Mavunkal2-Feb-12 21:26
Subin Mavunkal2-Feb-12 21:26 
AnswerRe: Best method for putting a wait Pin
OriginalGriff2-Feb-12 21:40
mveOriginalGriff2-Feb-12 21:40 
AnswerRe: Best method for putting a wait Pin
BobJanova3-Feb-12 4:48
BobJanova3-Feb-12 4: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.