Sean McArde
f445a74b4f
Merge branch 'surfaceProFixes' into dev
...
# Conflicts:
# WifiSitter/WifiSitter.cs
2016-11-06 21:56:37 -08:00
Sean McArde
a5063a0485
Made service/console check more clear. Trying to create service without uninstaller.
2016-11-06 13:22:12 -08:00
Sean McArde
e5cb44e349
Now logs start up failures to event viewer, debugging service start nearly impossible otherwise. Also checking array size before indexing into it.
2016-11-03 21:21:25 -07:00
Sean McArde
6514a78df6
Was not properly updating connection availability of ethernet connections that became disconnected, was previously treating only WiFi as potentially transient. Also now identify state change event console logging as coming from events, helps clarity.
2016-11-03 20:58:02 -07:00
Sean McArdle
549d7b51f0
Added timer to check network state so changes can be identified even if event's haven't been fired. Need to do this when waking from sleep.
2016-11-03 20:02:48 -07:00
Sean McArdle
6bf4cd4c56
Argument parsing options, fixed some bugs.
2016-11-03 20:01:07 -07:00
Sean McArde
dc8550aa31
Merge branch 'master'
...
Conflicts:
WifiSitter/WifiSitter.cs
2016-10-02 13:06:17 -07:00
Sean McArde
f77c3ed207
merged from IPC branch.
2016-10-02 11:39:06 -07:00
Sean McArde
5dc3ce1897
Added async task behavior when enable/disable on processes stop. Should mitigate issues with enabling many NICs at a time still needs thorough testing.
2016-09-27 23:51:22 -07:00
Sean McArde
9385ff686b
Moved some files into the Helpers folder and pulled in the NativeWifi libraries.
2016-09-25 14:04:17 -07:00
Sean McArde
152db18c47
Now tracking interface state on start and restoring this state when process exits. This may cause longer service shutdown times if there are lots of interfaces to modify. Need testing.
2016-09-21 14:49:47 -07:00
Sean McArdle
2b2b88381e
More fussing with auto version increment.
2016-05-20 10:17:39 -07:00
Sean McArdle
80ed28d741
Ignoring WMWare adapters by default now.
2016-05-20 10:17:20 -07:00
Sean McArdle
cfa1eaa905
Changed publisher, should be me for the open source version.
2016-05-09 18:38:44 -07:00
Sean McArdle
2da779e2be
Fixed issue where thread interrupt would cause the service framework would throw an error because interrupting the waiting thread throws an exception.
2016-05-09 11:48:20 -07:00
Sean McArdle
0c860a543d
Auto incrementing assembly and file version now. Also show version when running in console mode.
2016-05-09 11:47:15 -07:00
MCARDLE Sean M
236565d0fb
Removed trailing whitespace and reformatted a really long line.
2016-05-05 13:40:17 -07:00
MCARDLE Sean M
17d708c814
Changed ordering for updating nic info so it updates all nics in place and does not attempt to monitor nics that we can't pull data for.
2016-05-05 13:39:47 -07:00
Sean McArdle
e64f01d47e
Bug introduced during refactoring, should sleep on each iteration not just when there's work to do.
2016-03-30 14:41:50 -07:00
Sean McArdle
58d1d43a3b
Changed the way it identifies wifi and ethernet up, using netsh data rather than NetworkInformation data,
...
this appears to be more reliable right now. I probably have a code path where I'm not correctly updating
the NetworkInformation data even though at this point it's only used to identify WiFi vs Ethernet nic.
2016-03-30 13:28:18 -07:00
Sean McArdle
231f56b230
Should not need to re-enable all adapters, just ones we don't already know about.
2016-03-30 13:14:43 -07:00
Sean McArdle
259b05f871
Created basic icon.
2016-03-30 12:39:14 -07:00
Sean McArdle
bcaca3f6b9
Filled in app specific registry values.
2016-03-30 12:08:17 -07:00
Sean McArdle
1f840a0f9c
Updated the manifest.
2016-03-30 11:49:54 -07:00
Sean McArdle
0e7c0962e0
Cleanup usings.
2016-03-29 17:59:02 -07:00
Sean McArdle
b4ee5ba74e
Fixed copy/paste bug, did not want the filtered behavior. This was copied from elsewhere during refactoring.
2016-03-29 17:57:34 -07:00
Sean McArdle
5cf9b27f96
Fixed bug loading registry values for nic exclusion list.
2016-03-29 17:56:58 -07:00
Sean McArdle
da556f71d8
Implementing NIC whitelist as registry configuration, currently fails reading configuration but creates keys/values on install.
2016-03-29 15:29:13 -07:00
Sean McArdle
36201c72cf
Implementing abstract methods for reg key create/remove, and added service description.
2016-03-29 14:23:25 -07:00
Sean McArdle
151e022e3f
Created abstract methods for creating and cleaning up registry keys related to service.
2016-03-29 14:22:50 -07:00
Sean McArdle
5f768806f9
Incorrect null check, returned null on success rather than failure.
2016-03-29 14:22:16 -07:00
Sean McArdle
80baf60e97
Date is now always displayed in default foreground color.
2016-03-29 13:54:30 -07:00
Sean McArdle
55f4a9f8ff
Oops, that reg value doesn't mean what I thought it meant.
2016-03-29 13:54:08 -07:00
Sean McArdle
27d46da48a
Null conditionals are amazing
2016-03-29 13:53:50 -07:00
Sean McArdle
3262b07660
Should log as Windows Events, needs testing.
2016-03-29 13:35:12 -07:00
Sean McArdle
dfb8225925
Service pause-able.
2016-03-29 13:26:25 -07:00
Sean McArdle
4720ad3b3b
Working through logging TODOs
2016-03-29 13:06:12 -07:00
Sean McArdle
3f9821e0ec
Handle null on netsh return.
2016-03-29 12:55:15 -07:00
Sean McArdle
4c2470360f
Main logic executes in a separate thread, now initialized via command line in the same way as service.
2016-03-29 12:37:26 -07:00
Sean McArdle
caaf238eb0
Removed source specific stuff.
2016-03-29 12:36:29 -07:00
Sean McArdle
f3312f4987
Merge branch 'origin/servicizing' into servicizing
...
# Conflicts:
# WifiSitter/Program.cs
# WifiSitter/WifiSitter.cs
2016-03-28 13:51:46 -07:00
Sean McArdle
124ffab91a
Ongoing work converting to service.
2016-03-28 13:45:53 -07:00
Sean McArdle
5afc411d76
Refactoring for service.
2016-03-28 13:28:12 -07:00
Sean McArdle
05e266b2b2
Refactored classes into individual files in preparation for servicizing, Program.cs could get cluttered.
2016-03-28 11:17:33 -07:00
Sean McArdle
584a5aa258
Added references to statisfy AbstractService depenencies.
2016-03-28 11:11:48 -07:00
Sean McArdle
5211354cd7
Added AbstractService class to inherit from.
2016-03-28 11:10:01 -07:00
Sean McArdle
a4d1682b5e
Added newline for clarity.
2016-03-28 10:50:12 -07:00
Sean McArdle
fd5c42983c
Getting Connected state from netsh now, OperationalStatus doesn't tend to change when release IP address.
2016-03-28 10:44:08 -07:00
Sean McArdle
33a4fe841d
Now ignoring VirtualBox interface. Moved release IP call and checks interface state afterwards to catch true operational state.
2016-03-28 09:55:29 -07:00
Sean McArdle
1fe08a0d2d
Ignoring VirtualBox host adapter
2016-03-25 15:35:32 -07:00