├── .gitattributes
├── .gitignore
├── LoopbackManager.sln
├── LoopbackManager
├── LoopbackManager (Package)
│ ├── Images
│ │ ├── LargeTile.scale-100.png
│ │ ├── LargeTile.scale-125.png
│ │ ├── LargeTile.scale-150.png
│ │ ├── LargeTile.scale-200.png
│ │ ├── LargeTile.scale-400.png
│ │ ├── LockScreenLogo.scale-200.png
│ │ ├── SmallTile.scale-100.png
│ │ ├── SmallTile.scale-125.png
│ │ ├── SmallTile.scale-150.png
│ │ ├── SmallTile.scale-200.png
│ │ ├── SmallTile.scale-400.png
│ │ ├── SplashScreen.scale-100.png
│ │ ├── SplashScreen.scale-125.png
│ │ ├── SplashScreen.scale-150.png
│ │ ├── SplashScreen.scale-200.png
│ │ ├── SplashScreen.scale-400.png
│ │ ├── Square150x150Logo.scale-100.png
│ │ ├── Square150x150Logo.scale-125.png
│ │ ├── Square150x150Logo.scale-150.png
│ │ ├── Square150x150Logo.scale-200.png
│ │ ├── Square150x150Logo.scale-400.png
│ │ ├── Square44x44Logo.altform-lightunplated_targetsize-16.png
│ │ ├── Square44x44Logo.altform-lightunplated_targetsize-24.png
│ │ ├── Square44x44Logo.altform-lightunplated_targetsize-256.png
│ │ ├── Square44x44Logo.altform-lightunplated_targetsize-32.png
│ │ ├── Square44x44Logo.altform-lightunplated_targetsize-48.png
│ │ ├── Square44x44Logo.altform-unplated_targetsize-16.png
│ │ ├── Square44x44Logo.altform-unplated_targetsize-256.png
│ │ ├── Square44x44Logo.altform-unplated_targetsize-32.png
│ │ ├── Square44x44Logo.altform-unplated_targetsize-48.png
│ │ ├── Square44x44Logo.scale-100.png
│ │ ├── Square44x44Logo.scale-125.png
│ │ ├── Square44x44Logo.scale-150.png
│ │ ├── Square44x44Logo.scale-200.png
│ │ ├── Square44x44Logo.scale-400.png
│ │ ├── Square44x44Logo.targetsize-16.png
│ │ ├── Square44x44Logo.targetsize-24.png
│ │ ├── Square44x44Logo.targetsize-24_altform-unplated.png
│ │ ├── Square44x44Logo.targetsize-256.png
│ │ ├── Square44x44Logo.targetsize-32.png
│ │ ├── Square44x44Logo.targetsize-48.png
│ │ ├── StoreLogo.backup.png
│ │ ├── StoreLogo.scale-100.png
│ │ ├── StoreLogo.scale-125.png
│ │ ├── StoreLogo.scale-150.png
│ │ ├── StoreLogo.scale-200.png
│ │ ├── StoreLogo.scale-400.png
│ │ ├── Wide310x150Logo.scale-100.png
│ │ ├── Wide310x150Logo.scale-125.png
│ │ ├── Wide310x150Logo.scale-150.png
│ │ ├── Wide310x150Logo.scale-200.png
│ │ └── Wide310x150Logo.scale-400.png
│ ├── LoopbackManager (Package).wapproj
│ └── Package.appxmanifest
└── LoopbackManager
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── Assets
│ └── Square44x44Logo.scale-100.png
│ ├── Controls
│ ├── AppItem.xaml
│ └── AppItem.xaml.cs
│ ├── LoopbackManager.csproj
│ ├── MainWindow.xaml
│ ├── MainWindow.xaml.cs
│ ├── Models
│ ├── AppContainer.cs
│ ├── LoopbackController.cs
│ └── Structs.cs
│ ├── Properties
│ ├── PublishProfiles
│ │ ├── win10-arm64.pubxml
│ │ ├── win10-x64.pubxml
│ │ └── win10-x86.pubxml
│ └── launchSettings.json
│ ├── Styles
│ ├── Controls.xaml
│ ├── Theme.Dark.xaml
│ └── Theme.Light.xaml
│ ├── ViewModels
│ └── LoopbackViewModel.cs
│ └── app.manifest
├── README.md
└── image.png
/.gitattributes:
--------------------------------------------------------------------------------
1 | ###############################################################################
2 | # Set default behavior to automatically normalize line endings.
3 | ###############################################################################
4 | * text=auto
5 |
6 | ###############################################################################
7 | # Set default behavior for command prompt diff.
8 | #
9 | # This is need for earlier builds of msysgit that does not have it on by
10 | # default for csharp files.
11 | # Note: This is only used by command line
12 | ###############################################################################
13 | #*.cs diff=csharp
14 |
15 | ###############################################################################
16 | # Set the merge driver for project and solution files
17 | #
18 | # Merging from the command prompt will add diff markers to the files if there
19 | # are conflicts (Merging from VS is not affected by the settings below, in VS
20 | # the diff markers are never inserted). Diff markers may cause the following
21 | # file extensions to fail to load in VS. An alternative would be to treat
22 | # these files as binary and thus will always conflict and require user
23 | # intervention with every merge. To do so, just uncomment the entries below
24 | ###############################################################################
25 | #*.sln merge=binary
26 | #*.csproj merge=binary
27 | #*.vbproj merge=binary
28 | #*.vcxproj merge=binary
29 | #*.vcproj merge=binary
30 | #*.dbproj merge=binary
31 | #*.fsproj merge=binary
32 | #*.lsproj merge=binary
33 | #*.wixproj merge=binary
34 | #*.modelproj merge=binary
35 | #*.sqlproj merge=binary
36 | #*.wwaproj merge=binary
37 |
38 | ###############################################################################
39 | # behavior for image files
40 | #
41 | # image files are treated as binary by default.
42 | ###############################################################################
43 | #*.jpg binary
44 | #*.png binary
45 | #*.gif binary
46 |
47 | ###############################################################################
48 | # diff behavior for common document formats
49 | #
50 | # Convert binary document formats to text before diffing them. This feature
51 | # is only available from the command line. Turn it on by uncommenting the
52 | # entries below.
53 | ###############################################################################
54 | #*.doc diff=astextplain
55 | #*.DOC diff=astextplain
56 | #*.docx diff=astextplain
57 | #*.DOCX diff=astextplain
58 | #*.dot diff=astextplain
59 | #*.DOT diff=astextplain
60 | #*.pdf diff=astextplain
61 | #*.PDF diff=astextplain
62 | #*.rtf diff=astextplain
63 | #*.RTF diff=astextplain
64 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | ## Ignore Visual Studio temporary files, build results, and
2 | ## files generated by popular Visual Studio add-ons.
3 | ##
4 | ## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
5 |
6 | # User-specific files
7 | *.rsuser
8 | *.suo
9 | *.user
10 | *.userosscache
11 | *.sln.docstates
12 |
13 | # User-specific files (MonoDevelop/Xamarin Studio)
14 | *.userprefs
15 |
16 | # Mono auto generated files
17 | mono_crash.*
18 |
19 | # Build results
20 | [Dd]ebug/
21 | [Dd]ebugPublic/
22 | [Rr]elease/
23 | [Rr]eleases/
24 | x64/
25 | x86/
26 | [Ww][Ii][Nn]32/
27 | [Aa][Rr][Mm]/
28 | [Aa][Rr][Mm]64/
29 | bld/
30 | [Bb]in/
31 | [Oo]bj/
32 | [Oo]ut/
33 | [Ll]og/
34 | [Ll]ogs/
35 |
36 | # Visual Studio 2015/2017 cache/options directory
37 | .vs/
38 | # Uncomment if you have tasks that create the project's static files in wwwroot
39 | #wwwroot/
40 |
41 | # Visual Studio 2017 auto generated files
42 | Generated\ Files/
43 |
44 | # MSTest test Results
45 | [Tt]est[Rr]esult*/
46 | [Bb]uild[Ll]og.*
47 |
48 | # NUnit
49 | *.VisualState.xml
50 | TestResult.xml
51 | nunit-*.xml
52 |
53 | # Build Results of an ATL Project
54 | [Dd]ebugPS/
55 | [Rr]eleasePS/
56 | dlldata.c
57 |
58 | # Benchmark Results
59 | BenchmarkDotNet.Artifacts/
60 |
61 | # .NET Core
62 | project.lock.json
63 | project.fragment.lock.json
64 | artifacts/
65 |
66 | # ASP.NET Scaffolding
67 | ScaffoldingReadMe.txt
68 |
69 | # StyleCop
70 | StyleCopReport.xml
71 |
72 | # Files built by Visual Studio
73 | *_i.c
74 | *_p.c
75 | *_h.h
76 | *.ilk
77 | *.meta
78 | *.obj
79 | *.iobj
80 | *.pch
81 | *.pdb
82 | *.ipdb
83 | *.pgc
84 | *.pgd
85 | *.rsp
86 | *.sbr
87 | *.tlb
88 | *.tli
89 | *.tlh
90 | *.tmp
91 | *.tmp_proj
92 | *_wpftmp.csproj
93 | *.log
94 | *.vspscc
95 | *.vssscc
96 | .builds
97 | *.pidb
98 | *.svclog
99 | *.scc
100 |
101 | # Chutzpah Test files
102 | _Chutzpah*
103 |
104 | # Visual C++ cache files
105 | ipch/
106 | *.aps
107 | *.ncb
108 | *.opendb
109 | *.opensdf
110 | *.sdf
111 | *.cachefile
112 | *.VC.db
113 | *.VC.VC.opendb
114 |
115 | # Visual Studio profiler
116 | *.psess
117 | *.vsp
118 | *.vspx
119 | *.sap
120 |
121 | # Visual Studio Trace Files
122 | *.e2e
123 |
124 | # TFS 2012 Local Workspace
125 | $tf/
126 |
127 | # Guidance Automation Toolkit
128 | *.gpState
129 |
130 | # ReSharper is a .NET coding add-in
131 | _ReSharper*/
132 | *.[Rr]e[Ss]harper
133 | *.DotSettings.user
134 |
135 | # TeamCity is a build add-in
136 | _TeamCity*
137 |
138 | # DotCover is a Code Coverage Tool
139 | *.dotCover
140 |
141 | # AxoCover is a Code Coverage Tool
142 | .axoCover/*
143 | !.axoCover/settings.json
144 |
145 | # Coverlet is a free, cross platform Code Coverage Tool
146 | coverage*.json
147 | coverage*.xml
148 | coverage*.info
149 |
150 | # Visual Studio code coverage results
151 | *.coverage
152 | *.coveragexml
153 |
154 | # NCrunch
155 | _NCrunch_*
156 | .*crunch*.local.xml
157 | nCrunchTemp_*
158 |
159 | # MightyMoose
160 | *.mm.*
161 | AutoTest.Net/
162 |
163 | # Web workbench (sass)
164 | .sass-cache/
165 |
166 | # Installshield output folder
167 | [Ee]xpress/
168 |
169 | # DocProject is a documentation generator add-in
170 | DocProject/buildhelp/
171 | DocProject/Help/*.HxT
172 | DocProject/Help/*.HxC
173 | DocProject/Help/*.hhc
174 | DocProject/Help/*.hhk
175 | DocProject/Help/*.hhp
176 | DocProject/Help/Html2
177 | DocProject/Help/html
178 |
179 | # Click-Once directory
180 | publish/
181 |
182 | # Publish Web Output
183 | *.[Pp]ublish.xml
184 | *.azurePubxml
185 | # Note: Comment the next line if you want to checkin your web deploy settings,
186 | # but database connection strings (with potential passwords) will be unencrypted
187 | *.publishproj
188 |
189 | # Microsoft Azure Web App publish settings. Comment the next line if you want to
190 | # checkin your Azure Web App publish settings, but sensitive information contained
191 | # in these scripts will be unencrypted
192 | PublishScripts/
193 |
194 | # NuGet Packages
195 | *.nupkg
196 | # NuGet Symbol Packages
197 | *.snupkg
198 | # The packages folder can be ignored because of Package Restore
199 | **/[Pp]ackages/*
200 | # except build/, which is used as an MSBuild target.
201 | !**/[Pp]ackages/build/
202 | # Uncomment if necessary however generally it will be regenerated when needed
203 | #!**/[Pp]ackages/repositories.config
204 | # NuGet v3's project.json files produces more ignorable files
205 | *.nuget.props
206 | *.nuget.targets
207 |
208 | # Microsoft Azure Build Output
209 | csx/
210 | *.build.csdef
211 |
212 | # Microsoft Azure Emulator
213 | ecf/
214 | rcf/
215 |
216 | # Windows Store app package directories and files
217 | AppPackages/
218 | BundleArtifacts/
219 | Package.StoreAssociation.xml
220 | _pkginfo.txt
221 | *.appx
222 | *.appxbundle
223 | *.appxupload
224 |
225 | # Visual Studio cache files
226 | # files ending in .cache can be ignored
227 | *.[Cc]ache
228 | # but keep track of directories ending in .cache
229 | !?*.[Cc]ache/
230 |
231 | # Others
232 | ClientBin/
233 | ~$*
234 | *~
235 | *.dbmdl
236 | *.dbproj.schemaview
237 | *.jfm
238 | *.pfx
239 | *.publishsettings
240 | orleans.codegen.cs
241 |
242 | # Including strong name files can present a security risk
243 | # (https://github.com/github/gitignore/pull/2483#issue-259490424)
244 | #*.snk
245 |
246 | # Since there are multiple workflows, uncomment next line to ignore bower_components
247 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
248 | #bower_components/
249 |
250 | # RIA/Silverlight projects
251 | Generated_Code/
252 |
253 | # Backup & report files from converting an old project file
254 | # to a newer Visual Studio version. Backup files are not needed,
255 | # because we have git ;-)
256 | _UpgradeReport_Files/
257 | Backup*/
258 | UpgradeLog*.XML
259 | UpgradeLog*.htm
260 | ServiceFabricBackup/
261 | *.rptproj.bak
262 |
263 | # SQL Server files
264 | *.mdf
265 | *.ldf
266 | *.ndf
267 |
268 | # Business Intelligence projects
269 | *.rdl.data
270 | *.bim.layout
271 | *.bim_*.settings
272 | *.rptproj.rsuser
273 | *- [Bb]ackup.rdl
274 | *- [Bb]ackup ([0-9]).rdl
275 | *- [Bb]ackup ([0-9][0-9]).rdl
276 |
277 | # Microsoft Fakes
278 | FakesAssemblies/
279 |
280 | # GhostDoc plugin setting file
281 | *.GhostDoc.xml
282 |
283 | # Node.js Tools for Visual Studio
284 | .ntvs_analysis.dat
285 | node_modules/
286 |
287 | # Visual Studio 6 build log
288 | *.plg
289 |
290 | # Visual Studio 6 workspace options file
291 | *.opt
292 |
293 | # Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
294 | *.vbw
295 |
296 | # Visual Studio LightSwitch build output
297 | **/*.HTMLClient/GeneratedArtifacts
298 | **/*.DesktopClient/GeneratedArtifacts
299 | **/*.DesktopClient/ModelManifest.xml
300 | **/*.Server/GeneratedArtifacts
301 | **/*.Server/ModelManifest.xml
302 | _Pvt_Extensions
303 |
304 | # Paket dependency manager
305 | .paket/paket.exe
306 | paket-files/
307 |
308 | # FAKE - F# Make
309 | .fake/
310 |
311 | # CodeRush personal settings
312 | .cr/personal
313 |
314 | # Python Tools for Visual Studio (PTVS)
315 | __pycache__/
316 | *.pyc
317 |
318 | # Cake - Uncomment if you are using it
319 | # tools/**
320 | # !tools/packages.config
321 |
322 | # Tabs Studio
323 | *.tss
324 |
325 | # Telerik's JustMock configuration file
326 | *.jmconfig
327 |
328 | # BizTalk build output
329 | *.btp.cs
330 | *.btm.cs
331 | *.odx.cs
332 | *.xsd.cs
333 |
334 | # OpenCover UI analysis results
335 | OpenCover/
336 |
337 | # Azure Stream Analytics local run output
338 | ASALocalRun/
339 |
340 | # MSBuild Binary and Structured Log
341 | *.binlog
342 |
343 | # NVidia Nsight GPU debugger configuration file
344 | *.nvuser
345 |
346 | # MFractors (Xamarin productivity tool) working folder
347 | .mfractor/
348 |
349 | # Local History for Visual Studio
350 | .localhistory/
351 |
352 | # BeatPulse healthcheck temp database
353 | healthchecksdb
354 |
355 | # Backup folder for Package Reference Convert tool in Visual Studio 2017
356 | MigrationBackup/
357 |
358 | # Ionide (cross platform F# VS Code tools) working folder
359 | .ionide/
360 |
361 | # Fody - auto-generated XML schema
362 | FodyWeavers.xsd
--------------------------------------------------------------------------------
/LoopbackManager.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.31220.234
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{C7167F0D-BC9F-4E6E-AFE1-012C56B48DB5}") = "LoopbackManager (Package)", "LoopbackManager\LoopbackManager (Package)\LoopbackManager (Package).wapproj", "{1B0FB58C-BB32-4A8F-906C-4A592405FBAC}"
7 | EndProject
8 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LoopbackManager", "LoopbackManager\LoopbackManager\LoopbackManager.csproj", "{69948C35-2672-4B1A-A7CE-67DD01370FFC}"
9 | EndProject
10 | Global
11 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
12 | Debug|arm64 = Debug|arm64
13 | Debug|x64 = Debug|x64
14 | Debug|x86 = Debug|x86
15 | Release|arm64 = Release|arm64
16 | Release|x64 = Release|x64
17 | Release|x86 = Release|x86
18 | EndGlobalSection
19 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
20 | {1B0FB58C-BB32-4A8F-906C-4A592405FBAC}.Debug|arm64.ActiveCfg = Debug|arm64
21 | {1B0FB58C-BB32-4A8F-906C-4A592405FBAC}.Debug|arm64.Build.0 = Debug|arm64
22 | {1B0FB58C-BB32-4A8F-906C-4A592405FBAC}.Debug|arm64.Deploy.0 = Debug|arm64
23 | {1B0FB58C-BB32-4A8F-906C-4A592405FBAC}.Debug|x64.ActiveCfg = Debug|x64
24 | {1B0FB58C-BB32-4A8F-906C-4A592405FBAC}.Debug|x64.Build.0 = Debug|x64
25 | {1B0FB58C-BB32-4A8F-906C-4A592405FBAC}.Debug|x64.Deploy.0 = Debug|x64
26 | {1B0FB58C-BB32-4A8F-906C-4A592405FBAC}.Debug|x86.ActiveCfg = Debug|x86
27 | {1B0FB58C-BB32-4A8F-906C-4A592405FBAC}.Debug|x86.Build.0 = Debug|x86
28 | {1B0FB58C-BB32-4A8F-906C-4A592405FBAC}.Debug|x86.Deploy.0 = Debug|x86
29 | {1B0FB58C-BB32-4A8F-906C-4A592405FBAC}.Release|arm64.ActiveCfg = Release|arm64
30 | {1B0FB58C-BB32-4A8F-906C-4A592405FBAC}.Release|arm64.Build.0 = Release|arm64
31 | {1B0FB58C-BB32-4A8F-906C-4A592405FBAC}.Release|arm64.Deploy.0 = Release|arm64
32 | {1B0FB58C-BB32-4A8F-906C-4A592405FBAC}.Release|x64.ActiveCfg = Release|x64
33 | {1B0FB58C-BB32-4A8F-906C-4A592405FBAC}.Release|x64.Build.0 = Release|x64
34 | {1B0FB58C-BB32-4A8F-906C-4A592405FBAC}.Release|x64.Deploy.0 = Release|x64
35 | {1B0FB58C-BB32-4A8F-906C-4A592405FBAC}.Release|x86.ActiveCfg = Release|x86
36 | {1B0FB58C-BB32-4A8F-906C-4A592405FBAC}.Release|x86.Build.0 = Release|x86
37 | {1B0FB58C-BB32-4A8F-906C-4A592405FBAC}.Release|x86.Deploy.0 = Release|x86
38 | {69948C35-2672-4B1A-A7CE-67DD01370FFC}.Debug|arm64.ActiveCfg = Debug|arm64
39 | {69948C35-2672-4B1A-A7CE-67DD01370FFC}.Debug|arm64.Build.0 = Debug|arm64
40 | {69948C35-2672-4B1A-A7CE-67DD01370FFC}.Debug|x64.ActiveCfg = Debug|x64
41 | {69948C35-2672-4B1A-A7CE-67DD01370FFC}.Debug|x64.Build.0 = Debug|x64
42 | {69948C35-2672-4B1A-A7CE-67DD01370FFC}.Debug|x86.ActiveCfg = Debug|x86
43 | {69948C35-2672-4B1A-A7CE-67DD01370FFC}.Debug|x86.Build.0 = Debug|x86
44 | {69948C35-2672-4B1A-A7CE-67DD01370FFC}.Release|arm64.ActiveCfg = Release|arm64
45 | {69948C35-2672-4B1A-A7CE-67DD01370FFC}.Release|arm64.Build.0 = Release|arm64
46 | {69948C35-2672-4B1A-A7CE-67DD01370FFC}.Release|x64.ActiveCfg = Release|x64
47 | {69948C35-2672-4B1A-A7CE-67DD01370FFC}.Release|x64.Build.0 = Release|x64
48 | {69948C35-2672-4B1A-A7CE-67DD01370FFC}.Release|x86.ActiveCfg = Release|x86
49 | {69948C35-2672-4B1A-A7CE-67DD01370FFC}.Release|x86.Build.0 = Release|x86
50 | EndGlobalSection
51 | GlobalSection(SolutionProperties) = preSolution
52 | HideSolutionNode = FALSE
53 | EndGlobalSection
54 | GlobalSection(ExtensibilityGlobals) = postSolution
55 | SolutionGuid = {26AF7494-7016-4892-811C-1E739AC89EB3}
56 | EndGlobalSection
57 | EndGlobal
58 |
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager (Package)/Images/LargeTile.scale-100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Richasy/LoopbackManager/6994902ed3f4d96b4cc940dde2da9bd52738cc3e/LoopbackManager/LoopbackManager (Package)/Images/LargeTile.scale-100.png
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager (Package)/Images/LargeTile.scale-125.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Richasy/LoopbackManager/6994902ed3f4d96b4cc940dde2da9bd52738cc3e/LoopbackManager/LoopbackManager (Package)/Images/LargeTile.scale-125.png
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager (Package)/Images/LargeTile.scale-150.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Richasy/LoopbackManager/6994902ed3f4d96b4cc940dde2da9bd52738cc3e/LoopbackManager/LoopbackManager (Package)/Images/LargeTile.scale-150.png
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager (Package)/Images/LargeTile.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Richasy/LoopbackManager/6994902ed3f4d96b4cc940dde2da9bd52738cc3e/LoopbackManager/LoopbackManager (Package)/Images/LargeTile.scale-200.png
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager (Package)/Images/LargeTile.scale-400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Richasy/LoopbackManager/6994902ed3f4d96b4cc940dde2da9bd52738cc3e/LoopbackManager/LoopbackManager (Package)/Images/LargeTile.scale-400.png
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager (Package)/Images/LockScreenLogo.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Richasy/LoopbackManager/6994902ed3f4d96b4cc940dde2da9bd52738cc3e/LoopbackManager/LoopbackManager (Package)/Images/LockScreenLogo.scale-200.png
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager (Package)/Images/SmallTile.scale-100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Richasy/LoopbackManager/6994902ed3f4d96b4cc940dde2da9bd52738cc3e/LoopbackManager/LoopbackManager (Package)/Images/SmallTile.scale-100.png
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager (Package)/Images/SmallTile.scale-125.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Richasy/LoopbackManager/6994902ed3f4d96b4cc940dde2da9bd52738cc3e/LoopbackManager/LoopbackManager (Package)/Images/SmallTile.scale-125.png
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager (Package)/Images/SmallTile.scale-150.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Richasy/LoopbackManager/6994902ed3f4d96b4cc940dde2da9bd52738cc3e/LoopbackManager/LoopbackManager (Package)/Images/SmallTile.scale-150.png
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager (Package)/Images/SmallTile.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Richasy/LoopbackManager/6994902ed3f4d96b4cc940dde2da9bd52738cc3e/LoopbackManager/LoopbackManager (Package)/Images/SmallTile.scale-200.png
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager (Package)/Images/SmallTile.scale-400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Richasy/LoopbackManager/6994902ed3f4d96b4cc940dde2da9bd52738cc3e/LoopbackManager/LoopbackManager (Package)/Images/SmallTile.scale-400.png
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager (Package)/Images/SplashScreen.scale-100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Richasy/LoopbackManager/6994902ed3f4d96b4cc940dde2da9bd52738cc3e/LoopbackManager/LoopbackManager (Package)/Images/SplashScreen.scale-100.png
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager (Package)/Images/SplashScreen.scale-125.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Richasy/LoopbackManager/6994902ed3f4d96b4cc940dde2da9bd52738cc3e/LoopbackManager/LoopbackManager (Package)/Images/SplashScreen.scale-125.png
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager (Package)/Images/SplashScreen.scale-150.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Richasy/LoopbackManager/6994902ed3f4d96b4cc940dde2da9bd52738cc3e/LoopbackManager/LoopbackManager (Package)/Images/SplashScreen.scale-150.png
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager (Package)/Images/SplashScreen.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Richasy/LoopbackManager/6994902ed3f4d96b4cc940dde2da9bd52738cc3e/LoopbackManager/LoopbackManager (Package)/Images/SplashScreen.scale-200.png
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager (Package)/Images/SplashScreen.scale-400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Richasy/LoopbackManager/6994902ed3f4d96b4cc940dde2da9bd52738cc3e/LoopbackManager/LoopbackManager (Package)/Images/SplashScreen.scale-400.png
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager (Package)/Images/Square150x150Logo.scale-100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Richasy/LoopbackManager/6994902ed3f4d96b4cc940dde2da9bd52738cc3e/LoopbackManager/LoopbackManager (Package)/Images/Square150x150Logo.scale-100.png
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager (Package)/Images/Square150x150Logo.scale-125.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Richasy/LoopbackManager/6994902ed3f4d96b4cc940dde2da9bd52738cc3e/LoopbackManager/LoopbackManager (Package)/Images/Square150x150Logo.scale-125.png
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager (Package)/Images/Square150x150Logo.scale-150.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Richasy/LoopbackManager/6994902ed3f4d96b4cc940dde2da9bd52738cc3e/LoopbackManager/LoopbackManager (Package)/Images/Square150x150Logo.scale-150.png
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager (Package)/Images/Square150x150Logo.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Richasy/LoopbackManager/6994902ed3f4d96b4cc940dde2da9bd52738cc3e/LoopbackManager/LoopbackManager (Package)/Images/Square150x150Logo.scale-200.png
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager (Package)/Images/Square150x150Logo.scale-400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Richasy/LoopbackManager/6994902ed3f4d96b4cc940dde2da9bd52738cc3e/LoopbackManager/LoopbackManager (Package)/Images/Square150x150Logo.scale-400.png
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager (Package)/Images/Square44x44Logo.altform-lightunplated_targetsize-16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Richasy/LoopbackManager/6994902ed3f4d96b4cc940dde2da9bd52738cc3e/LoopbackManager/LoopbackManager (Package)/Images/Square44x44Logo.altform-lightunplated_targetsize-16.png
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager (Package)/Images/Square44x44Logo.altform-lightunplated_targetsize-24.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Richasy/LoopbackManager/6994902ed3f4d96b4cc940dde2da9bd52738cc3e/LoopbackManager/LoopbackManager (Package)/Images/Square44x44Logo.altform-lightunplated_targetsize-24.png
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager (Package)/Images/Square44x44Logo.altform-lightunplated_targetsize-256.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Richasy/LoopbackManager/6994902ed3f4d96b4cc940dde2da9bd52738cc3e/LoopbackManager/LoopbackManager (Package)/Images/Square44x44Logo.altform-lightunplated_targetsize-256.png
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager (Package)/Images/Square44x44Logo.altform-lightunplated_targetsize-32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Richasy/LoopbackManager/6994902ed3f4d96b4cc940dde2da9bd52738cc3e/LoopbackManager/LoopbackManager (Package)/Images/Square44x44Logo.altform-lightunplated_targetsize-32.png
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager (Package)/Images/Square44x44Logo.altform-lightunplated_targetsize-48.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Richasy/LoopbackManager/6994902ed3f4d96b4cc940dde2da9bd52738cc3e/LoopbackManager/LoopbackManager (Package)/Images/Square44x44Logo.altform-lightunplated_targetsize-48.png
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager (Package)/Images/Square44x44Logo.altform-unplated_targetsize-16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Richasy/LoopbackManager/6994902ed3f4d96b4cc940dde2da9bd52738cc3e/LoopbackManager/LoopbackManager (Package)/Images/Square44x44Logo.altform-unplated_targetsize-16.png
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager (Package)/Images/Square44x44Logo.altform-unplated_targetsize-256.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Richasy/LoopbackManager/6994902ed3f4d96b4cc940dde2da9bd52738cc3e/LoopbackManager/LoopbackManager (Package)/Images/Square44x44Logo.altform-unplated_targetsize-256.png
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager (Package)/Images/Square44x44Logo.altform-unplated_targetsize-32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Richasy/LoopbackManager/6994902ed3f4d96b4cc940dde2da9bd52738cc3e/LoopbackManager/LoopbackManager (Package)/Images/Square44x44Logo.altform-unplated_targetsize-32.png
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager (Package)/Images/Square44x44Logo.altform-unplated_targetsize-48.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Richasy/LoopbackManager/6994902ed3f4d96b4cc940dde2da9bd52738cc3e/LoopbackManager/LoopbackManager (Package)/Images/Square44x44Logo.altform-unplated_targetsize-48.png
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager (Package)/Images/Square44x44Logo.scale-100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Richasy/LoopbackManager/6994902ed3f4d96b4cc940dde2da9bd52738cc3e/LoopbackManager/LoopbackManager (Package)/Images/Square44x44Logo.scale-100.png
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager (Package)/Images/Square44x44Logo.scale-125.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Richasy/LoopbackManager/6994902ed3f4d96b4cc940dde2da9bd52738cc3e/LoopbackManager/LoopbackManager (Package)/Images/Square44x44Logo.scale-125.png
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager (Package)/Images/Square44x44Logo.scale-150.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Richasy/LoopbackManager/6994902ed3f4d96b4cc940dde2da9bd52738cc3e/LoopbackManager/LoopbackManager (Package)/Images/Square44x44Logo.scale-150.png
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager (Package)/Images/Square44x44Logo.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Richasy/LoopbackManager/6994902ed3f4d96b4cc940dde2da9bd52738cc3e/LoopbackManager/LoopbackManager (Package)/Images/Square44x44Logo.scale-200.png
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager (Package)/Images/Square44x44Logo.scale-400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Richasy/LoopbackManager/6994902ed3f4d96b4cc940dde2da9bd52738cc3e/LoopbackManager/LoopbackManager (Package)/Images/Square44x44Logo.scale-400.png
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager (Package)/Images/Square44x44Logo.targetsize-16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Richasy/LoopbackManager/6994902ed3f4d96b4cc940dde2da9bd52738cc3e/LoopbackManager/LoopbackManager (Package)/Images/Square44x44Logo.targetsize-16.png
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager (Package)/Images/Square44x44Logo.targetsize-24.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Richasy/LoopbackManager/6994902ed3f4d96b4cc940dde2da9bd52738cc3e/LoopbackManager/LoopbackManager (Package)/Images/Square44x44Logo.targetsize-24.png
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager (Package)/Images/Square44x44Logo.targetsize-24_altform-unplated.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Richasy/LoopbackManager/6994902ed3f4d96b4cc940dde2da9bd52738cc3e/LoopbackManager/LoopbackManager (Package)/Images/Square44x44Logo.targetsize-24_altform-unplated.png
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager (Package)/Images/Square44x44Logo.targetsize-256.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Richasy/LoopbackManager/6994902ed3f4d96b4cc940dde2da9bd52738cc3e/LoopbackManager/LoopbackManager (Package)/Images/Square44x44Logo.targetsize-256.png
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager (Package)/Images/Square44x44Logo.targetsize-32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Richasy/LoopbackManager/6994902ed3f4d96b4cc940dde2da9bd52738cc3e/LoopbackManager/LoopbackManager (Package)/Images/Square44x44Logo.targetsize-32.png
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager (Package)/Images/Square44x44Logo.targetsize-48.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Richasy/LoopbackManager/6994902ed3f4d96b4cc940dde2da9bd52738cc3e/LoopbackManager/LoopbackManager (Package)/Images/Square44x44Logo.targetsize-48.png
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager (Package)/Images/StoreLogo.backup.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Richasy/LoopbackManager/6994902ed3f4d96b4cc940dde2da9bd52738cc3e/LoopbackManager/LoopbackManager (Package)/Images/StoreLogo.backup.png
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager (Package)/Images/StoreLogo.scale-100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Richasy/LoopbackManager/6994902ed3f4d96b4cc940dde2da9bd52738cc3e/LoopbackManager/LoopbackManager (Package)/Images/StoreLogo.scale-100.png
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager (Package)/Images/StoreLogo.scale-125.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Richasy/LoopbackManager/6994902ed3f4d96b4cc940dde2da9bd52738cc3e/LoopbackManager/LoopbackManager (Package)/Images/StoreLogo.scale-125.png
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager (Package)/Images/StoreLogo.scale-150.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Richasy/LoopbackManager/6994902ed3f4d96b4cc940dde2da9bd52738cc3e/LoopbackManager/LoopbackManager (Package)/Images/StoreLogo.scale-150.png
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager (Package)/Images/StoreLogo.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Richasy/LoopbackManager/6994902ed3f4d96b4cc940dde2da9bd52738cc3e/LoopbackManager/LoopbackManager (Package)/Images/StoreLogo.scale-200.png
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager (Package)/Images/StoreLogo.scale-400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Richasy/LoopbackManager/6994902ed3f4d96b4cc940dde2da9bd52738cc3e/LoopbackManager/LoopbackManager (Package)/Images/StoreLogo.scale-400.png
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager (Package)/Images/Wide310x150Logo.scale-100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Richasy/LoopbackManager/6994902ed3f4d96b4cc940dde2da9bd52738cc3e/LoopbackManager/LoopbackManager (Package)/Images/Wide310x150Logo.scale-100.png
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager (Package)/Images/Wide310x150Logo.scale-125.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Richasy/LoopbackManager/6994902ed3f4d96b4cc940dde2da9bd52738cc3e/LoopbackManager/LoopbackManager (Package)/Images/Wide310x150Logo.scale-125.png
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager (Package)/Images/Wide310x150Logo.scale-150.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Richasy/LoopbackManager/6994902ed3f4d96b4cc940dde2da9bd52738cc3e/LoopbackManager/LoopbackManager (Package)/Images/Wide310x150Logo.scale-150.png
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager (Package)/Images/Wide310x150Logo.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Richasy/LoopbackManager/6994902ed3f4d96b4cc940dde2da9bd52738cc3e/LoopbackManager/LoopbackManager (Package)/Images/Wide310x150Logo.scale-200.png
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager (Package)/Images/Wide310x150Logo.scale-400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Richasy/LoopbackManager/6994902ed3f4d96b4cc940dde2da9bd52738cc3e/LoopbackManager/LoopbackManager (Package)/Images/Wide310x150Logo.scale-400.png
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager (Package)/LoopbackManager (Package).wapproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 15.0
5 |
6 |
7 |
8 | Debug
9 | x86
10 |
11 |
12 | Release
13 | x86
14 |
15 |
16 | Debug
17 | x64
18 |
19 |
20 | Release
21 | x64
22 |
23 |
24 | Debug
25 | arm64
26 |
27 |
28 | Release
29 | arm64
30 |
31 |
32 |
33 | $(MSBuildExtensionsPath)\Microsoft\DesktopBridge\
34 | LoopbackManager\
35 |
36 |
37 |
38 | 1b0fb58c-bb32-4a8f-906c-4a592405fbac
39 | 10.0.19041.0
40 | 10.0.17763.0
41 | net6.0-windows$(TargetPlatformVersion);$(AssetTargetFallback)
42 | zh-CN
43 | ..\LoopbackManager\LoopbackManager.csproj
44 | False
45 | False
46 | E:\Package\LoopbackManager\
47 | True
48 | x86|x64
49 | 0
50 |
51 |
52 | en-US
53 | Always
54 |
55 |
56 | en-US
57 | Always
58 |
59 |
60 | en-US
61 | Always
62 |
63 |
64 | en-US
65 | Always
66 |
67 |
68 | en-US
69 | Always
70 |
71 |
72 | en-US
73 | Always
74 |
75 |
76 |
77 | Designer
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
127 |
128 |
129 |
130 |
131 |
132 |
133 |
134 |
135 | True
136 | Properties\PublishProfiles\win10-$(Platform).pubxml
137 |
138 |
139 |
140 |
141 | build
142 |
143 |
144 | build
145 |
146 |
147 |
148 |
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager (Package)/Package.appxmanifest:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
9 |
13 |
14 |
15 | Loopback Manager
16 | Richasy
17 | Images\StoreLogo.png
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
33 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager/App.xaml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.UI.Xaml;
2 | using Microsoft.UI.Xaml.Controls;
3 | using Microsoft.UI.Xaml.Controls.Primitives;
4 | using Microsoft.UI.Xaml.Data;
5 | using Microsoft.UI.Xaml.Input;
6 | using Microsoft.UI.Xaml.Media;
7 | using Microsoft.UI.Xaml.Navigation;
8 | using Microsoft.UI.Xaml.Shapes;
9 | using System;
10 | using System.Collections.Generic;
11 | using System.IO;
12 | using System.Linq;
13 | using System.Runtime.InteropServices.WindowsRuntime;
14 | using Windows.ApplicationModel;
15 | using Windows.ApplicationModel.Activation;
16 | using Windows.Foundation;
17 | using Windows.Foundation.Collections;
18 |
19 | // To learn more about WinUI, the WinUI project structure,
20 | // and more about our project templates, see: http://aka.ms/winui-project-info.
21 |
22 | namespace LoopbackManager
23 | {
24 | ///
25 | /// Provides application-specific behavior to supplement the default Application class.
26 | ///
27 | public partial class App : Application
28 | {
29 | ///
30 | /// Initializes the singleton application object. This is the first line of authored code
31 | /// executed, and as such is the logical equivalent of main() or WinMain().
32 | ///
33 | public App()
34 | {
35 | this.InitializeComponent();
36 | }
37 |
38 | ///
39 | /// Invoked when the application is launched normally by the end user. Other entry points
40 | /// will be used such as when the application is launched to open a specific file.
41 | ///
42 | /// Details about the launch request and process.
43 | protected override void OnLaunched(Microsoft.UI.Xaml.LaunchActivatedEventArgs args)
44 | {
45 | m_window = new MainWindow();
46 | m_window.Activate();
47 | }
48 |
49 | private Window m_window;
50 | }
51 | }
52 |
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager/Assets/Square44x44Logo.scale-100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Richasy/LoopbackManager/6994902ed3f4d96b4cc940dde2da9bd52738cc3e/LoopbackManager/LoopbackManager/Assets/Square44x44Logo.scale-100.png
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager/Controls/AppItem.xaml:
--------------------------------------------------------------------------------
1 |
9 |
10 |
16 |
17 |
18 |
19 |
20 |
21 |
30 |
31 |
36 |
42 |
47 |
48 |
49 |
50 |
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager/Controls/AppItem.xaml.cs:
--------------------------------------------------------------------------------
1 | using LoopbackManager.Models;
2 | using Microsoft.UI.Xaml;
3 | using Microsoft.UI.Xaml.Controls;
4 | using System;
5 |
6 | namespace LoopbackManager.Controls
7 | {
8 | public sealed partial class AppItem : UserControl
9 | {
10 | public AppItem()
11 | {
12 | this.InitializeComponent();
13 | }
14 |
15 | public event EventHandler StateChanged;
16 |
17 | public AppContainer Data
18 | {
19 | get { return (AppContainer)GetValue(DataProperty); }
20 | set { SetValue(DataProperty, value); }
21 | }
22 |
23 | public static readonly DependencyProperty DataProperty =
24 | DependencyProperty.Register("Data", typeof(AppContainer), typeof(AppItem), new PropertyMetadata(null, new PropertyChangedCallback(OnDataChanged)));
25 |
26 | private static void OnDataChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
27 | {
28 | var instance = d as AppItem;
29 | if (e.NewValue != null && e.NewValue is AppContainer data)
30 | {
31 | string path= string.IsNullOrEmpty(data.WorkingDirectory) ? "--" : data.WorkingDirectory;
32 | instance.AppNameBlock.Text = data.DisplayName;
33 | instance.AppPathBlock.Text = path;
34 | ToolTipService.SetToolTip(instance.AppNameBlock, data.DisplayName);
35 | ToolTipService.SetToolTip(instance.AppPathBlock, path);
36 | }
37 | }
38 |
39 | private void SelectedCheckBox_Click(object sender, RoutedEventArgs e)
40 | {
41 | StateChanged?.Invoke(this, EventArgs.Empty);
42 | }
43 | }
44 | }
45 |
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager/LoopbackManager.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 | WinExe
4 | net6.0-windows10.0.22000.0
5 | 10.0.17763.0
6 | LoopbackManager
7 | app.manifest
8 | x86;x64;arm64
9 | win10-x86;win10-x64;win10-arm64
10 | true
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 | MSBuild:Compile
26 |
27 |
28 |
29 |
30 | MSBuild:Compile
31 |
32 |
33 |
34 |
35 | MSBuild:Compile
36 |
37 |
38 |
39 |
40 | MSBuild:Compile
41 |
42 |
43 |
44 |
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager/MainWindow.xaml:
--------------------------------------------------------------------------------
1 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
24 |
29 |
34 |
35 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
57 |
66 |
73 |
74 |
75 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager/MainWindow.xaml.cs:
--------------------------------------------------------------------------------
1 | using LoopbackManager.ViewModels;
2 | using Microsoft.UI;
3 | using Microsoft.UI.Windowing;
4 | using Microsoft.UI.Xaml;
5 | using Microsoft.UI.Xaml.Controls;
6 | using System;
7 |
8 | namespace LoopbackManager
9 | {
10 | ///
11 | /// An empty window that can be used on its own or navigated to within a Frame.
12 | ///
13 | public sealed partial class MainWindow : Window
14 | {
15 | public LoopbackViewModel ViewModel = LoopbackViewModel.Instance;
16 |
17 | private AppWindowTitleBar AppWindowTitleBar;
18 |
19 | public MainWindow()
20 | {
21 | this.InitializeComponent();
22 | this.Title = "Loopback Manager";
23 | this.Closed += OnWindowClosed;
24 |
25 | if (AppWindowTitleBar.IsCustomizationSupported())
26 | {
27 | IntPtr windowHandle = WinRT.Interop.WindowNative.GetWindowHandle(this);
28 | WindowId windowId = Win32Interop.GetWindowIdFromWindow(windowHandle);
29 | AppWindow appWindow = AppWindow.GetFromWindowId(windowId);
30 | AppWindowTitleBar = appWindow.TitleBar;
31 | AppWindowTitleBar.ExtendsContentIntoTitleBar = true;
32 | AppWindowTitleBar.ButtonInactiveBackgroundColor = Colors.Transparent;
33 | AppWindowTitleBar.ButtonBackgroundColor = Colors.Transparent;
34 | TitleIcon.Margin = new Thickness(AppWindowTitleBar.LeftInset + 12, 0, 8, 0);
35 | TitleText.Margin = new Thickness(0, 0, AppWindowTitleBar.RightInset, 0);
36 | TitleBarArea.SizeChanged += TitleBarArea_SizeChanged;
37 | TitleBarArea.Visibility = Visibility.Visible;
38 | }
39 | }
40 |
41 | private void TitleBarArea_SizeChanged(object sender, SizeChangedEventArgs e)
42 | {
43 | if (AppWindowTitleBar != null)
44 | {
45 | AppWindowTitleBar.SetDragRectangles(new Windows.Graphics.RectInt32[] { new Windows.Graphics.RectInt32()
46 | {
47 | Width = (int) e.NewSize.Width,
48 | Height = (int)e.NewSize.Height
49 | }});
50 | }
51 | }
52 |
53 | private void OnWindowClosed(object sender, WindowEventArgs args)
54 | {
55 | ViewModel.Dispose();
56 | }
57 |
58 | private void OnSaveButtonClick(object sender, RoutedEventArgs e)
59 | {
60 | ViewModel.SaveLoopbackState();
61 | ViewModel.HasUnsavedData = false;
62 | }
63 |
64 | private void OnRefreshButtonClick(object sender, RoutedEventArgs e)
65 | {
66 | bool needClear = !string.IsNullOrEmpty(KeywordBox.Text);
67 | if (needClear)
68 | {
69 | KeywordBox.Text = string.Empty;
70 | }
71 | else
72 | {
73 | ViewModel.LoadApps();
74 | }
75 | }
76 |
77 | private void OnListViewLoaded(object sender, RoutedEventArgs e)
78 | {
79 | ViewModel.LoadApps();
80 | }
81 |
82 | private void OnKeywordChanged(object sender, TextChangedEventArgs e)
83 | {
84 | string keyword = KeywordBox.Text;
85 | ViewModel.FilterAppList(keyword);
86 | }
87 |
88 | private void OnItemStatusChanged(object sender, EventArgs e)
89 | {
90 | ViewModel.HasUnsavedData = true;
91 | }
92 | }
93 | }
94 |
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager/Models/AppContainer.cs:
--------------------------------------------------------------------------------
1 | using System.ComponentModel;
2 | using System.Runtime.CompilerServices;
3 |
4 | namespace LoopbackManager.Models
5 | {
6 | public class AppContainer : INotifyPropertyChanged
7 | {
8 | private bool _isLoopback;
9 | public string AppContainerName { get; set; }
10 | public string DisplayName { get; set; }
11 | public string WorkingDirectory { get; set; }
12 | public string Sid { get; set; }
13 | public bool IsLoopback
14 | {
15 | get => _isLoopback;
16 | set
17 | {
18 | _isLoopback = value;
19 | OnPropertyChanged();
20 | }
21 | }
22 |
23 | public AppContainer(string appContainerName, string displayName, string workingDirectory, string sid)
24 | {
25 | this.AppContainerName = appContainerName;
26 | this.DisplayName = displayName;
27 | this.WorkingDirectory = workingDirectory;
28 | this.Sid = sid;
29 | }
30 |
31 | private void OnPropertyChanged([CallerMemberName] string propertyName = "")
32 | {
33 | PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
34 | }
35 |
36 | public event PropertyChangedEventHandler PropertyChanged;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager/Models/LoopbackController.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Runtime.InteropServices;
4 | using System.Text;
5 |
6 | namespace LoopbackManager.Models
7 | {
8 | public enum NETISO_FLAG
9 | {
10 | NETISO_FLAG_FORCE_COMPUTE_BINARIES = 0x1,
11 | NETISO_FLAG_MAX = 0x2
12 | }
13 |
14 | public class LoopbackController
15 | {
16 | // Call this API to free the memory returned by the Enumeration API
17 | [DllImport("FirewallAPI.dll")]
18 | internal static extern void NetworkIsolationFreeAppContainers(IntPtr pACs);
19 |
20 | // Call this API to load the current list of LoopUtil-enabled AppContainers
21 | [DllImport("FirewallAPI.dll")]
22 | internal static extern uint NetworkIsolationGetAppContainerConfig(out uint pdwCntACs, out IntPtr appContainerSids);
23 |
24 | // Call this API to set the LoopUtil-exemption list
25 | [DllImport("FirewallAPI.dll")]
26 | private static extern uint NetworkIsolationSetAppContainerConfig(uint pdwCntACs, SID_AND_ATTRIBUTES[] appContainerSids);
27 |
28 |
29 | // Use this API to convert a string SID into an actual SID
30 | [DllImport("advapi32.dll", SetLastError = true)]
31 | internal static extern bool ConvertStringSidToSid(string strSid, out IntPtr pSid);
32 |
33 | [DllImport("advapi32", CharSet = CharSet.Auto, SetLastError = true)]
34 | static extern bool ConvertSidToStringSid(
35 | [MarshalAs(UnmanagedType.LPArray)] byte[] pSID,
36 | out IntPtr ptrSid);
37 |
38 | [DllImport("advapi32", CharSet = CharSet.Auto, SetLastError = true)]
39 | static extern bool ConvertSidToStringSid(IntPtr pSid, out string strSid);
40 |
41 | // Use this API to convert a string reference (e.g. "@{blah.pri?ms-resource://whatever}") into a plain string
42 | [DllImport("shlwapi.dll", CharSet = CharSet.Unicode, ExactSpelling = true)]
43 | internal static extern int SHLoadIndirectstring(string pszSource, StringBuilder pszOutBuf);
44 |
45 | // Call this API to enumerate all of the AppContainers on the system
46 | [DllImport("FirewallAPI.dll")]
47 | internal static extern uint NetworkIsolationEnumAppContainers(uint Flags, out uint pdwCntPublicACs, out IntPtr ppACs);
48 | // DWORD NetworkIsolationEnumAppContainers(
49 | // _In_ DWORD Flags,
50 | // _Out_ DWORD *pdwNumPublicAppCs,
51 | // _Out_ PINET_FIREWALL_APP_CONTAINER *ppPublicAppCs
52 | //);
53 |
54 | internal List _appList;
55 | internal List _appListConfig;
56 | public List Apps = new List();
57 | internal IntPtr _pACs;
58 |
59 | public void LoadApps()
60 | {
61 | Apps.Clear();
62 | _pACs = IntPtr.Zero;
63 | //Full List of Apps
64 | _appList = PI_NetworkIsolationEnumAppContainers();
65 | //List of Apps that have LoopUtil enabled.
66 | _appListConfig = PI_NetworkIsolationGetAppContainerConfig();
67 | foreach (var PI_app in _appList)
68 | {
69 | ConvertSidToStringSid(PI_app.appContainerSid, out string sid);
70 | AppContainer app = new AppContainer(PI_app.appContainerName, PI_app.displayName, PI_app.workingDirectory, sid);
71 |
72 | var app_capabilities = getCapabilites(PI_app.capabilities);
73 | if (app_capabilities.Count > 0)
74 | {
75 | //var sid = new SecurityIdentifier(app_capabilities[0], 0);
76 |
77 | IntPtr arrayValue = IntPtr.Zero;
78 | //var b = LoopUtil.ConvertstringSidToSid(app_capabilities[0].Sid, out arrayValue);
79 | //string mysid;
80 | //var b = LoopUtil.ConvertSidTostringSid(app_capabilities[0].Sid, out mysid);
81 | }
82 | app.IsLoopback = CheckLoopback(PI_app.appContainerSid);
83 | Apps.Add(app);
84 | }
85 | }
86 | private bool CheckLoopback(IntPtr intPtr)
87 | {
88 | foreach (SID_AND_ATTRIBUTES item in _appListConfig)
89 | {
90 | string left, right;
91 | ConvertSidToStringSid(item.Sid, out left);
92 | ConvertSidToStringSid(intPtr, out right);
93 |
94 | if (left == right)
95 | {
96 | return true;
97 | }
98 | }
99 | return false;
100 | }
101 |
102 | private static List getCapabilites(INET_FIREWALL_AC_CAPABILITIES cap)
103 | {
104 | List mycap = new List();
105 |
106 | IntPtr arrayValue = cap.capabilities;
107 |
108 | var structSize = Marshal.SizeOf(typeof(SID_AND_ATTRIBUTES));
109 | for (var i = 0; i < cap.count; i++)
110 | {
111 | var cur = (SID_AND_ATTRIBUTES)Marshal.PtrToStructure(arrayValue, typeof(SID_AND_ATTRIBUTES));
112 | mycap.Add(cur);
113 | arrayValue = new IntPtr((long)(arrayValue) + (long)(structSize));
114 | }
115 |
116 | return mycap;
117 |
118 | }
119 |
120 | private static List getContainerSID(INET_FIREWALL_AC_CAPABILITIES cap)
121 | {
122 | List mycap = new List();
123 |
124 | IntPtr arrayValue = cap.capabilities;
125 |
126 | var structSize = Marshal.SizeOf(typeof(SID_AND_ATTRIBUTES));
127 | for (var i = 0; i < cap.count; i++)
128 | {
129 | var cur = (SID_AND_ATTRIBUTES)Marshal.PtrToStructure(arrayValue, typeof(SID_AND_ATTRIBUTES));
130 | mycap.Add(cur);
131 | arrayValue = new IntPtr((long)(arrayValue) + (long)(structSize));
132 | }
133 |
134 | return mycap;
135 |
136 | }
137 |
138 | private static List PI_NetworkIsolationGetAppContainerConfig()
139 | {
140 |
141 | IntPtr arrayValue = IntPtr.Zero;
142 | uint size = 0;
143 | var list = new List();
144 |
145 | // Pin down variables
146 | GCHandle handle_pdwCntPublicACs = GCHandle.Alloc(size, GCHandleType.Pinned);
147 | GCHandle handle_ppACs = GCHandle.Alloc(arrayValue, GCHandleType.Pinned);
148 |
149 | uint retval = NetworkIsolationGetAppContainerConfig(out size, out arrayValue);
150 |
151 | var structSize = Marshal.SizeOf(typeof(SID_AND_ATTRIBUTES));
152 | for (var i = 0; i < size; i++)
153 | {
154 | var cur = (SID_AND_ATTRIBUTES)Marshal.PtrToStructure(arrayValue, typeof(SID_AND_ATTRIBUTES));
155 | list.Add(cur);
156 | arrayValue = new IntPtr((long)(arrayValue) + (long)(structSize));
157 | }
158 |
159 | //release pinned variables.
160 | handle_pdwCntPublicACs.Free();
161 | handle_ppACs.Free();
162 |
163 | return list;
164 |
165 |
166 | }
167 |
168 | private List PI_NetworkIsolationEnumAppContainers()
169 | {
170 |
171 | IntPtr arrayValue = IntPtr.Zero;
172 | uint size = 0;
173 | var list = new List();
174 |
175 | // Pin down variables
176 | GCHandle handle_pdwCntPublicACs = GCHandle.Alloc(size, GCHandleType.Pinned);
177 | GCHandle handle_ppACs = GCHandle.Alloc(arrayValue, GCHandleType.Pinned);
178 |
179 | //uint retval2 = NetworkIsolationGetAppContainerConfig( out size, out arrayValue);
180 |
181 | uint retval = NetworkIsolationEnumAppContainers((int)NETISO_FLAG.NETISO_FLAG_MAX, out size, out arrayValue);
182 | _pACs = arrayValue; //store the pointer so it can be freed when we close the form
183 |
184 | var structSize = Marshal.SizeOf(typeof(INET_FIREWALL_APP_CONTAINER));
185 | for (var i = 0; i < size; i++)
186 | {
187 | var cur = (INET_FIREWALL_APP_CONTAINER)Marshal.PtrToStructure(arrayValue, typeof(INET_FIREWALL_APP_CONTAINER));
188 | list.Add(cur);
189 | arrayValue = new IntPtr((long)(arrayValue) + (long)(structSize));
190 | }
191 |
192 | //release pinned variables.
193 | handle_pdwCntPublicACs.Free();
194 | handle_ppACs.Free();
195 |
196 | return list;
197 |
198 |
199 | }
200 |
201 | public bool SaveLoopbackState()
202 | {
203 | var countEnabled = CountEnabledLoopUtil();
204 | SID_AND_ATTRIBUTES[] arr = new SID_AND_ATTRIBUTES[countEnabled];
205 | int count = 0;
206 |
207 | for (int i = 0; i < Apps.Count; i++)
208 | {
209 | if (Apps[i].IsLoopback)
210 | {
211 | arr[count].Attributes = 0;
212 | //TO DO:
213 | IntPtr ptr;
214 | ConvertStringSidToSid(Apps[i].Sid, out ptr);
215 | arr[count].Sid = ptr;
216 | count++;
217 | }
218 | }
219 |
220 |
221 | return NetworkIsolationSetAppContainerConfig((uint)countEnabled, arr) == 0;
222 | }
223 |
224 | private int CountEnabledLoopUtil()
225 | {
226 | var count = 0;
227 | for (int i = 0; i < Apps.Count; i++)
228 | {
229 | if (Apps[i].IsLoopback)
230 | {
231 | count++;
232 | }
233 |
234 | }
235 | return count;
236 | }
237 |
238 | public void FreeResources()
239 | {
240 | NetworkIsolationFreeAppContainers(_pACs);
241 | }
242 | }
243 | }
244 |
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager/Models/Structs.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Runtime.InteropServices;
3 |
4 | namespace LoopbackManager.Models
5 | {
6 | [StructLayout(LayoutKind.Sequential)]
7 | internal struct SID_AND_ATTRIBUTES
8 | {
9 | public IntPtr Sid;
10 | public uint Attributes;
11 | }
12 |
13 | [StructLayout(LayoutKind.Sequential)]
14 | internal struct INET_FIREWALL_AC_CAPABILITIES
15 | {
16 | public uint count;
17 | public IntPtr capabilities; //SID_AND_ATTRIBUTES
18 | }
19 |
20 | [StructLayout(LayoutKind.Sequential)]
21 | internal struct INET_FIREWALL_AC_BINARIES
22 | {
23 | public uint count;
24 | public IntPtr binaries;
25 | }
26 |
27 | [StructLayout(LayoutKind.Sequential)]
28 | internal struct INET_FIREWALL_APP_CONTAINER
29 | {
30 | internal IntPtr appContainerSid;
31 | internal IntPtr userSid;
32 | [MarshalAs(UnmanagedType.LPWStr)]
33 | public string appContainerName;
34 | [MarshalAs(UnmanagedType.LPWStr)]
35 | public string displayName;
36 | [MarshalAs(UnmanagedType.LPWStr)]
37 | public string description;
38 | internal INET_FIREWALL_AC_CAPABILITIES capabilities;
39 | internal INET_FIREWALL_AC_BINARIES binaries;
40 | [MarshalAs(UnmanagedType.LPWStr)]
41 | public string workingDirectory;
42 | [MarshalAs(UnmanagedType.LPWStr)]
43 | public string packageFullName;
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager/Properties/PublishProfiles/win10-arm64.pubxml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 | FileSystem
8 | arm64
9 | win10-arm64
10 | bin\$(Configuration)\$(TargetFramework)\$(RuntimeIdentifier)\publish\
11 | true
12 | False
13 | False
14 | True
15 |
19 |
20 |
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager/Properties/PublishProfiles/win10-x64.pubxml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 | FileSystem
8 | x64
9 | win10-x64
10 | bin\$(Configuration)\$(TargetFramework)\$(RuntimeIdentifier)\publish\
11 | true
12 | False
13 | False
14 | True
15 |
19 |
20 |
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager/Properties/PublishProfiles/win10-x86.pubxml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 | FileSystem
8 | x86
9 | win10-x86
10 | bin\$(Configuration)\$(TargetFramework)\$(RuntimeIdentifier)\publish\
11 | true
12 | False
13 | False
14 | True
15 |
19 |
20 |
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager/Properties/launchSettings.json:
--------------------------------------------------------------------------------
1 | {
2 | "profiles": {
3 | "LoopbackManager (Package)": {
4 | "commandName": "MsixPackage"
5 | },
6 | "LoopbackManager (Unpackaged)": {
7 | "commandName": "Project"
8 | }
9 | }
10 | }
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager/Styles/Controls.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
71 |
72 |
137 |
138 |
556 |
557 |
661 |
662 |
746 |
747 |
748 |
749 |
750 |
751 |
752 |
753 |
754 |
755 |
756 |
757 |
758 |
759 |
774 |
787 |
803 |
815 |
828 |
837 |
838 |
839 |
840 |
841 |
842 |
843 |
844 |
845 |
846 |
847 |
848 |
849 |
850 |
851 |
852 |
853 |
854 |
855 |
856 |
857 |
858 |
859 |
860 |
861 |
862 |
863 |
864 |
865 |
866 |
867 |
868 |
869 |
870 |
871 |
872 |
873 |
874 |
875 |
876 |
877 |
878 |
879 |
880 |
881 |
882 |
883 |
884 |
885 |
886 |
887 |
888 |
889 |
890 |
891 |
892 |
893 |
894 |
895 |
896 |
897 |
898 |
899 |
900 |
901 |
902 |
903 |
904 |
905 |
906 |
907 |
908 |
909 | Visible
910 |
911 |
912 |
913 |
914 |
915 |
916 |
917 |
918 |
919 |
920 |
921 |
922 |
923 |
924 |
925 |
926 |
927 |
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager/Styles/Theme.Dark.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager/Styles/Theme.Light.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager/ViewModels/LoopbackViewModel.cs:
--------------------------------------------------------------------------------
1 | using LoopbackManager.Models;
2 | using System;
3 | using System.Collections.ObjectModel;
4 | using System.ComponentModel;
5 | using System.Linq;
6 | using System.Runtime.CompilerServices;
7 |
8 | namespace LoopbackManager.ViewModels
9 | {
10 | public class LoopbackViewModel : INotifyPropertyChanged
11 | {
12 | private LoopbackController _loopbackController;
13 | public ObservableCollection DisplayAppCollection;
14 |
15 | public static LoopbackViewModel Instance = new Lazy(new LoopbackViewModel()).Value;
16 |
17 | private bool _hasUnsavedData;
18 |
19 | ///
20 | /// Has unsaved data.
21 | ///
22 | public bool HasUnsavedData
23 | {
24 | get => _hasUnsavedData;
25 | set
26 | {
27 | _hasUnsavedData = value;
28 | OnPropertyChanged();
29 | }
30 | }
31 |
32 | public LoopbackViewModel()
33 | {
34 | _loopbackController = new LoopbackController();
35 | DisplayAppCollection = new ObservableCollection();
36 | }
37 |
38 | ///
39 | /// Load application list.
40 | ///
41 | ///
42 | public void LoadApps(string keyword = "")
43 | {
44 | DisplayAppCollection.Clear();
45 | _loopbackController.LoadApps();
46 | FilterAppList(keyword);
47 | }
48 |
49 | ///
50 | /// Filter the app list.
51 | ///
52 | ///
53 | public void FilterAppList(string keyword)
54 | {
55 | DisplayAppCollection.Clear();
56 | if (!string.IsNullOrEmpty(keyword))
57 | {
58 | _loopbackController.Apps.Where(p => p.DisplayName.Contains(keyword, StringComparison.OrdinalIgnoreCase))
59 | .ToList()
60 | .ForEach(p => DisplayAppCollection.Add(p));
61 | }
62 | else
63 | {
64 | _loopbackController.Apps.ForEach(p => DisplayAppCollection.Add(p));
65 | }
66 | }
67 |
68 | ///
69 | /// Save loopback state.
70 | ///
71 | public void SaveLoopbackState()
72 | {
73 | _loopbackController.SaveLoopbackState();
74 | }
75 |
76 | public void Dispose()
77 | {
78 | _loopbackController.FreeResources();
79 | }
80 |
81 | public event PropertyChangedEventHandler PropertyChanged;
82 | private void OnPropertyChanged([CallerMemberName] string propertyName = "")
83 | {
84 | PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
85 | }
86 | }
87 | }
88 |
--------------------------------------------------------------------------------
/LoopbackManager/LoopbackManager/app.manifest:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
11 | true/PM
12 | PerMonitorV2, PerMonitor
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # LoopbackManager
2 |
3 | **该项目废弃,迁移至 [LoopbackManager.Desktop](https://github.com/Richasy/LoopbackManager.Desktop)**
4 |
5 | Local network loopback manager written by [Project Reunion](https://github.com/microsoft/ProjectReunion).
6 |
7 | |||
8 | |-|-|
9 | |Tools|Visual Studio 2019 Preview|
10 | |Min version|Windows 10 ver.1809|
11 | |Target version|Windows 10 ver.2004|
12 | |Reunion version|0.5.6|
13 |
14 | 
15 |
--------------------------------------------------------------------------------
/image.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Richasy/LoopbackManager/6994902ed3f4d96b4cc940dde2da9bd52738cc3e/image.png
--------------------------------------------------------------------------------