实际上,我想在任何浏览器中启动任何.html文件。
我想在浏览器中打开key.html。
答案 0 :(得分:0)
只需尝试使用Launcher.LaunchFileAsync方法来启动与指定文件关联的默认应用。
did_you_mean => 1.1.0
bundler => 1.16.3
io-console => 0.4.6
rake => 12.3.1
concurrent-ruby => 1.0.5
i18n => 1.0.1
minitest => 5.11.3
thread_safe => 0.3.6
tzinfo => 1.2.5
activesupport => 5.2.0
builder => 3.2.3
erubi => 1.7.1
mini_portile2 => 2.3.0
nokogiri => 1.8.4
rails-dom-testing => 2.0.3
crass => 1.0.4
loofah => 2.2.2
rails-html-sanitizer => 1.0.4
actionview => 5.2.0
rack => 2.0.5
rack-test => 1.1.0
actionpack => 5.2.0
nio4r => 2.3.1
websocket-extensions => 0.1.3
websocket-driver => 0.7.0
actioncable => 5.2.0
globalid => 0.4.1
activejob => 5.2.0
mini_mime => 1.0.0
mail => 2.7.0
actionmailer => 5.2.0
activemodel => 5.2.0
arel => 9.0.0
activerecord => 5.2.0
mimemagic => 0.3.2
marcel => 0.3.2
activestorage => 5.2.0
execjs => 2.7.0
autoprefixer-rails => 9.0.2
bcrypt => 3.1.11
msgpack => 1.2.4
bootsnap => 1.3.1
popper_js => 1.14.3
rb-fsevent => 0.10.3
ffi => 1.9.25
rb-inotify => 0.9.10
sass-listen => 4.0.0
sass => 3.5.7
bootstrap => 4.1.3
coffee-script-source => 1.12.2
coffee-script => 2.4.1
method_source => 0.9.0
thor => 0.20.0
railties => 5.2.0
coffee-rails => 4.2.2
orm_adapter => 0.5.0
responders => 2.4.0
warden => 1.2.7
devise => 4.4.3
dotenv => 2.3.0
dotenv-rails => 2.3.0
multi_json => 1.13.1
jbuilder => 2.7.0
jquery-rails => 4.3.3
kaminari-core => 1.1.1
kaminari-actionview => 1.1.1
kaminari-activerecord => 1.1.1
kaminari => 1.1.1
pg => 1.0.0
puma => 3.12.0
sprockets => 3.7.2
sprockets-rails => 3.2.1
rails => 5.2.0
tilt => 2.0.8
sass-rails => 5.0.7
sassc => 1.12.1
sqlite3 => 1.3.13
turbolinks-source => 5.1.0
turbolinks => 5.1.1
uglifier => 4.1.16
您还可以将指定的选项用作方法LaunchFileAsync(IStorageFile, LauncherOptions)。