Click here to Skip to main content
15,903,388 members
Home / Discussions / C#
   

C#

 
AnswerRe: c# Win Forms, Event Handlers, Store a global setting and retrieve it in an event handler Pin
BillWoodruff15-Nov-18 13:36
professionalBillWoodruff15-Nov-18 13:36 
GeneralRe: c# Win Forms, Event Handlers, Store a global setting and retrieve it in an event handler Pin
jkirkerx16-Nov-18 9:40
professionaljkirkerx16-Nov-18 9:40 
AnswerRe: c# Win Forms, Event Handlers, Store a global setting and retrieve it in an event handler Pin
Mycroft Holmes15-Nov-18 13:59
professionalMycroft Holmes15-Nov-18 13:59 
GeneralRe: c# Win Forms, Event Handlers, Store a global setting and retrieve it in an event handler Pin
jkirkerx16-Nov-18 9:44
professionaljkirkerx16-Nov-18 9:44 
QuestionCorrelation Between two different Charts in C# Pin
Member 1332584614-Nov-18 12:08
Member 1332584614-Nov-18 12:08 
QuestionDetect Network / VPN Connection Pin
Kevin Marois14-Nov-18 7:25
professionalKevin Marois14-Nov-18 7:25 
AnswerRe: Detect Network / VPN Connection Pin
Eddy Vluggen15-Nov-18 1:21
professionalEddy Vluggen15-Nov-18 1:21 
AnswerRe: Detect Network / VPN Connection Pin
Nathan Minier15-Nov-18 1:38
professionalNathan Minier15-Nov-18 1:38 
That depends, and there are a few different approaches depending on your network configuration. It also depends on how much say you have in terms of how change is affected.

If you are using a Domain and the network is configured only to allow domain machines (via 802.1x or some other standard), then you can query WMI on windows machines on the domain using a privileged account, generally using powershell or a custom tool. You can mine running processes through WMI, and I would classify this as the "best" way to find out if a bit of software is running. Linux machines are easier, the BASH command ps-A will give you a running process list. You could do the same with local admin accounts, of course, but that approach really doesn't scale well.

Unfortunately, because of the pretty extreme strictures of Frame-level security, most networks do not have a domain lock on their network. You can run a port scan on a computer to try to determine what responsive applications are running, but that's not terribly consistent, especially with the number of applications that will use ephemeral ports, and can only determine applications that will handle in-bound connections.

You could require a connection client exist on computers before they get a DHCP lease; Cisco AnyConnect has modules that can do this, and I'm sure there's other pre-baked solutions for that. That connection client can have compliance portions that can do just about anything on the host, like process or file enumeration, as well as AV definition version checks, and so on. This is a medium-good solution, since anyone that can figure out how your switches are subnetted can just set a static IP.

Network traffic analysis will generally reveal applications that are communicating over the network with a fair degree of reliability. Best practices would say that you run a network proxy for hosts inside your domain, otherwise you'll have a bunch of encrypted traffic passing in and out of your network with no visibility into what that traffic is; not great for preventing intrusion or exfiltration. With un-encrypted traffic, a number of tools can fingerprint traffic automatically. From a pragmatic operational standpoint, this is generally the most feasible option for application fingerprinting.

Same answers apply to VPN, bearing in mind that the VPN address range should be subnetted differently than native internal systems.
"Never attribute to malice that which can be explained by stupidity."
- Hanlon's Razor

QuestionKeeping connection strings secure Pin
Frank R. Haugen14-Nov-18 5:00
professionalFrank R. Haugen14-Nov-18 5:00 
AnswerRe: Keeping connection strings secure Pin
Richard MacCutchan14-Nov-18 5:29
mveRichard MacCutchan14-Nov-18 5:29 
AnswerRe: Keeping connection strings secure Pin
Eddy Vluggen15-Nov-18 1:27
professionalEddy Vluggen15-Nov-18 1:27 
Questionc# with ftp server Pin
erdalczr13-Nov-18 20:30
erdalczr13-Nov-18 20:30 
AnswerRe: c# with ftp server Pin
OriginalGriff13-Nov-18 20:39
mveOriginalGriff13-Nov-18 20:39 
AnswerRe: c# with ftp server Pin
Eddy Vluggen14-Nov-18 0:31
professionalEddy Vluggen14-Nov-18 0:31 
QuestionCan anyone help fix this issue ? c sharp Pin
Member 1405353013-Nov-18 10:53
Member 1405353013-Nov-18 10:53 
AnswerRe: Can anyone help fix this issue ? c sharp Pin
Mycroft Holmes13-Nov-18 11:05
professionalMycroft Holmes13-Nov-18 11:05 
AnswerRe: Can anyone help fix this issue ? c sharp Pin
OriginalGriff13-Nov-18 19:17
mveOriginalGriff13-Nov-18 19:17 
QuestionSeveral lists into one horizontal list Pin
Member 1307682212-Nov-18 22:12
Member 1307682212-Nov-18 22:12 
AnswerRe: Several lists into one horizontal list Pin
OriginalGriff12-Nov-18 23:42
mveOriginalGriff12-Nov-18 23:42 
AnswerRe: Several lists into one horizontal list Pin
BillWoodruff13-Nov-18 2:12
professionalBillWoodruff13-Nov-18 2:12 
GeneralRe: Several lists into one horizontal list Pin
Richard Deeming14-Nov-18 1:09
mveRichard Deeming14-Nov-18 1:09 
AnswerRe: Several lists into one horizontal list Pin
Richard Deeming14-Nov-18 1:18
mveRichard Deeming14-Nov-18 1:18 
QuestionCheck if xy point is within a polygon Console App Pin
Member 1192266611-Nov-18 23:15
Member 1192266611-Nov-18 23:15 
QuestionRe: Check if xy point is within a polygon Console App Pin
Richard MacCutchan11-Nov-18 23:19
mveRichard MacCutchan11-Nov-18 23:19 
AnswerRe: Check if xy point is within a polygon Console App Pin
Member 1192266611-Nov-18 23:35
Member 1192266611-Nov-18 23:35 

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.