Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detection for mobile device
Message
De
29/12/2015 10:45:33
 
 
À
29/12/2015 10:41:48
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 9.0
OS:
Windows 8.1
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01629341
Message ID:
01629382
Vues:
27
>Maybe I'm misunderstanding your problem. If you create a client HttpWebRequest then you can just set its UserAgent property to whatever you wish.

Yes, but that is only an exception. The reference to HttpWebRequest was for a custom client that is calling the framework. The framework, on the server side, is responsible for much more than that. So, it has to be kept generic. I also want to cover the possibility, that even if I would define a user agent on the client side, that others can do the same and not pass it. In that case, I really need to verify for its nothing object.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform