-2

現在ログインしているユーザーからアプリケーションに収集できる情報は何ですか?

サーバーは、ネットワーク上のコンピューター名や使用されている OS などの情報を保持していますか?

ありがとう

編集基本的に、以下のようにテーブルを導出する必要があります。

Username     Computer-Network Name    OS      Last Logged in date
  Craig           craig-pc            WIN7          today

最終ログイン日などは取得できますが、他の情報は取得できません。これは、システムがデスクトップから Web に移行されているためです。

4

2 に答える 2

1

What information can we gather from a current logged in user to our application?

The username.

Does the server hold any information regarding Computer name on the network or OS used or any other information like that?

No. But you could of course retrieve this information additionally by looking at the Request.UserHostAddress property for example to retrieve the IP address. This could be done per request basis.

于 2013-02-04T13:26:32.150 に答える
0

あなたが使用することができます:

Request.Browser.Platform

ユーザーが使用しているプラ​​ットフォーム/OS とバージョンを取得するには

Request.UserAgent

そして、これを使用してコンピューター名を取得できます。

var host = Dns.GetHostEntry(Request.UserHostAddress);
string hostName = host.HostName; //Computer name
于 2013-02-04T13:15:01.273 に答える