C#脚本? [英] C# script?
本文介绍了C#脚本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨!
可以写一个C#脚本并在客户端运行它吗?
解决方案
不,浏览器不知道C#是什么。
Eliyahu
" Tarllem" < no@no.no>在消息中写道
新闻:O7 ************** @ TK2MSFTNGP15.phx.gbl ...嗨!
是否可以编写C#脚本并在客户端中运行?
当然,只需将其包含在脚本标签就像你用javascript做的那样,
并将语言属性设置为csharp。
注1:就像vbscript一样,它无论如何我都会在IE上工作。
注2:就像任何客户端脚本一样,你不能做任何事情的脚本
通常不会做没有数字签名。
您可能也有兴趣看一下C#applet。当IE看到小程序时,它会执行IEEXEC来运行它。 (很像Java applet运行时)
" Tarllem" < no@no.no> | b?l¥ó新闻:O7 ************** @TK2MSFTNGP15.phx.gbl¤?? ??
?g ...嗨!
可以写一个C#脚本并在客户端运行吗?
< blockquote>哦,我看到有一个csharp在IDE中弹出,但忘记了它在服务器端只有
有效。因此,虽然我对C#Applet的评论仍然有效,但是你不能直接在客户端上运行C#脚本。
Lau Lei Cheong <乐**** @ yehoo.com.hk> | b?l¥ó
news:uM ************** @TK2MSFTNGP15.phx.gbl¤¤??? g ...
当然,只需将其包含在脚本标签中,就像用javascript,
和将语言属性设置为csharp一样。
注1:就像vbscript,无论如何都会在IE上运行。
注意2:就像任何客户端脚本一样,如果没有数字签名,你就不能做任何事情。 。
您可能也有兴趣看一下C#applet。当IE看到小程序时,它会执行IEEXEC来运行它。 (很像Java applet
运行时)
Tarllem < no@no.no> | b?l¥ó新闻:O7 ************** @TK2MSFTNGP15.phx.gbl¤¤
?? ?g ...嗨!
是否可以编写C#脚本并在客户端中运行它?
Hi!
Is possible to write a C# script and to run it in the client?
解决方案
No, browsers don''t know what C# is.
Eliyahu
"Tarllem" <no@no.no> wrote in message
news:O7**************@TK2MSFTNGP15.phx.gbl...Hi!
Is possible to write a C# script and to run it in the client?
Sure, just include it in a script tag like what you''ll do with javascript,
and set language property to "csharp".
Note 1: Just like vbscript, it''ll work on IE anyway.
Note 2: Just like any client-side script, you can''t do anything a script
won''t normally do without having it digitally signed.
And you may also be interested in taking a look at C# applet. When IE sees
the applet, it''ll execute IEEXEC to run it. (Much like Java applet runtime)
"Tarllem" <no@no.no> |b?l¥ó news:O7**************@TK2MSFTNGP15.phx.gbl ¤¤??
?g...Hi!
Is possible to write a C# script and to run it in the client?
Oh, I saw there is a "csharp" popup in the IDE, but forgotten that it''s only
valid in server-side. So while my comment on C# Applet remains valid, you
cannot run C# script directly on the client.
"Lau Lei Cheong" <le****@yehoo.com.hk> |b?l¥ó
news:uM**************@TK2MSFTNGP15.phx.gbl ¤¤???g...Sure, just include it in a script tag like what you''ll do with javascript,
and set language property to "csharp".
Note 1: Just like vbscript, it''ll work on IE anyway.
Note 2: Just like any client-side script, you can''t do anything a script
won''t normally do without having it digitally signed.
And you may also be interested in taking a look at C# applet. When IE sees
the applet, it''ll execute IEEXEC to run it. (Much like Java applet runtime)
"Tarllem" <no@no.no> |b?l¥ó news:O7**************@TK2MSFTNGP15.phx.gbl ¤¤ ?? ?g...Hi!
Is possible to write a C# script and to run it in the client?
这篇关于C#脚本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文