Пример #1
0
 /// <summary>
 /// Initializes a new instance of the WsdHeader class.
 /// </summary>
 public WsdHeader()
 {
     this.to              = new AttributedURI();
     this.to.Value        = "urn:schemas-xmlsoap-org:ws:2005:04:discovery";
     this.action          = new AttributedURI();
     this.action.Value    = "http://schemas.xmlsoap.org/ws/2005/04/discovery/Probe";
     this.messageID       = new AttributedURI();
     this.messageID.Value = "urn:uuid:" + Guid.NewGuid().ToString();
 }
 /// <summary>
 /// Initializes a new instance of the WsdHeader class.
 /// </summary>
 public WsdHeader()
 {
     this.to = new AttributedURI();
     this.to.Value = "urn:schemas-xmlsoap-org:ws:2005:04:discovery";
     this.action = new AttributedURI();
     this.action.Value = "http://schemas.xmlsoap.org/ws/2005/04/discovery/Probe";
     this.messageID = new AttributedURI();
     this.messageID.Value = "urn:uuid:" + Guid.NewGuid().ToString();
 }