Sean McArdle
5b2b15184c
Create LICENSE.txt
2016-04-23 21:27:49 -07:00
Sean McArdle
1a897e0442
Checked box for packaged build todo.
2016-04-11 12:13:53 -07:00
Sean McArdle
dbae22ed0c
Merge branch 'dev' of mcardletech.com:~/git/wifisitter into dev
2016-04-07 10:48:18 -07:00
Sean McArdle
c6984e6115
Added configuration notes.
2016-03-31 18:13:15 -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
0375becd53
Updated README.md
2016-03-29 19:21:47 -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
Sean McArdle
a5203a167e
Fixed bug where _checkTick timer event was handled and the wrong function
...
call was used to verify the existance of new NICs so if there is a
disabled adapter it always reports that the NIC set has changed.
2016-03-25 10:56:16 -07:00
Sean McArdle
63c18f705a
Console logging now done with LogLine() method so color can be set in a single function call rather than 3 lines.
2016-03-25 10:55:49 -07:00
Sean McArdle
f827fd6f8d
Moved Enable/Disable logic to the NIC itself for better state tracking.
2016-03-25 10:10:41 -07:00
Sean McArdle
cdbe721406
Insert key stuck.
2016-03-24 20:29:55 -07:00
Sean McArdle
2c1b80bb70
Just being picky.
2016-03-24 20:26:55 -07:00
Sean McArdle
6723b8f3a9
Fixed some grammar/case inconsistency.
2016-03-24 20:24:10 -07:00
Sean McArdle
555b5a6c25
Added README.
2016-03-24 20:22:05 -07:00
Sean McArdle
16ef352103
Removed some unproductive comments. Ignore MS Wifi Direct adapter.
2016-03-24 20:09:57 -07:00
Sean McArdle
ccdf2fe14f
Added app manifest and set binary to reuire administrator.
2016-03-24 19:33:18 -07:00
Sean McArdle
61dc889bd7
Added TODO tasks for logging.
...
Removed the method which enables nics, this logic is inline to match the
inline disabling.
Re-enabled the tick timer which checks for new adapters, increased to 20
seconds and changed the frequency of forced GC, now happens every 20 * 200
seconds (66.6 minutes).
2016-03-24 19:19:53 -07:00
Sean McArdle
6703cc2a51
Added timestamps to console logging and unified some formatting.
2016-03-24 19:06:12 -07:00
Sean McArdle
95a991799a
Fixed but where it would not fully capture the adapter name if there is a space in it.
2016-03-24 19:05:21 -07:00
Sean McArdle
01957be40b
Added x86 build.
2016-03-24 19:04:20 -07:00