Showdan.Net
c# client for the shodan api
SearchTokens.cs
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Runtime.Serialization;
5 using System.Threading.Tasks;
6 
7 namespace Shodan.Net.Models
8 {
9  [DataContract]
10  public class Attributes
11  {
12  [DataMember(Name = "ports")]
13  public IList<int> Ports { get; set; }
14  }
15 
16  [DataContract]
17  public class SearchTokens
18  {
19  [DataMember(Name = "attributes")]
20  public Attributes Attributes { get; set; }
21 
22  [DataMember(Name = "errors")]
23  public IList<dynamic> Errors { get; set; }
24 
25  [DataMember(Name = "string")]
26  public string String { get; set; }
27 
28  [DataMember(Name = "filters")]
29  public IList<dynamic> Filters { get; set; }
30  }
31 }