Add mp4, mp3, and wmv to the allowed extensions

This commit is contained in:
kougyoku 2022-05-17 20:03:18 -07:00
parent 6ae4436119
commit 9470c8de53
3 changed files with 14 additions and 3 deletions

View File

@ -19,6 +19,9 @@
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<string>.docx</string>
<string>.pdf</string>
<string>.mp4</string>
<string>.mp3</string>
<string>.wmv</string>
</ArrayOfString>
</value>
</setting>

View File

@ -34,9 +34,14 @@ namespace LocalExplorer.Properties {
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("<?xml version=\"1.0\" encoding=\"utf-16\"?>\r\n<ArrayOfString xmlns:xsi=\"http://www.w3." +
"org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">\r\n <s" +
"tring>.docx</string>\r\n <string>.pdf</string>\r\n</ArrayOfString>")]
[global::System.Configuration.DefaultSettingValueAttribute(@"<?xml version=""1.0"" encoding=""utf-16""?>
<ArrayOfString xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance"" xmlns:xsd=""http://www.w3.org/2001/XMLSchema"">
<string>.docx</string>
<string>.pdf</string>
<string>.mp4</string>
<string>.mp3</string>
<string>.wmv</string>
</ArrayOfString>")]
public global::System.Collections.Specialized.StringCollection ALLOWED_EXTENSIONS {
get {
return ((global::System.Collections.Specialized.StringCollection)(this["ALLOWED_EXTENSIONS"]));

View File

@ -10,6 +10,9 @@
&lt;ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
&lt;string&gt;.docx&lt;/string&gt;
&lt;string&gt;.pdf&lt;/string&gt;
&lt;string&gt;.mp4&lt;/string&gt;
&lt;string&gt;.mp3&lt;/string&gt;
&lt;string&gt;.wmv&lt;/string&gt;
&lt;/ArrayOfString&gt;</Value>
</Setting>
</Settings>