Yes, as PatriceSc said, even though you can install you can install fonts
programmatically, it can’t not be done via asp.net which is server-side technology;
And server-side can’t do anything to client machine,
Actually,this is very good, as this is all designed with safety in mind.
From the standpoint of the client machine, there is no such thing as ASP.NET or any other server-side technology, there are only HTTP requests and responses.
Best regards
Cathy
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
Member
399 Points
1101 Posts
Install Font in customer computer from bin folder
Nov 08, 2017 09:33 AM|asp.ambur|LINK
Hello
I have one font in bin folder. on asp.net button click i want to copy that font to user computer fonts folder.?
How to do so using asp.net 2.0 C#
Thank You
All-Star
45850 Points
16689 Posts
Re: Install Font in customer computer from bin folder
Nov 08, 2017 12:47 PM|PatriceSc|LINK
Hi,
You can't for safety reasons. This is the browser that will download and use the font. See https://www.w3schools.com/css/css3_fonts.asp
Star
8670 Points
2882 Posts
Re: Install Font in customer computer from bin folder
Nov 09, 2017 02:29 AM|Cathy Zou|LINK
Hi asp.ambur,
Yes, as PatriceSc said, even though you can install you can install fonts programmatically, it can’t not be done via asp.net which is server-side technology;
And server-side can’t do anything to client machine,
Actually,this is very good, as this is all designed with safety in mind.
From the standpoint of the client machine, there is no such thing as ASP.NET or any other server-side technology, there are only HTTP requests and responses.
Best regards
Cathy
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.