//------------------------------------------------------------------------------
//
// This code was generated by a tool.
// Runtime Version:4.0.30319.235
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
//
//------------------------------------------------------------------------------
namespace BetterPatchFileCreator.AdminService {
using System.Runtime.Serialization;
using System;
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute(Name="PatchFileInfo", Namespace="http://schemas.datacontract.org/2004/07/PatcherServer.Services")]
[System.SerializableAttribute()]
public partial class PatchFileInfo : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
[System.NonSerializedAttribute()]
private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string ConfigNameField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private System.IO.Stream FileByteStreamField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private long LengthField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private long VersionField;
[global::System.ComponentModel.BrowsableAttribute(false)]
public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
get {
return this.extensionDataField;
}
set {
this.extensionDataField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string ConfigName {
get {
return this.ConfigNameField;
}
set {
if ((object.ReferenceEquals(this.ConfigNameField, value) != true)) {
this.ConfigNameField = value;
this.RaisePropertyChanged("ConfigName");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public System.IO.Stream FileByteStream {
get {
return this.FileByteStreamField;
}
set {
if ((object.ReferenceEquals(this.FileByteStreamField, value) != true)) {
this.FileByteStreamField = value;
this.RaisePropertyChanged("FileByteStream");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public long Length {
get {
return this.LengthField;
}
set {
if ((this.LengthField.Equals(value) != true)) {
this.LengthField = value;
this.RaisePropertyChanged("Length");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public long Version {
get {
return this.VersionField;
}
set {
if ((this.VersionField.Equals(value) != true)) {
this.VersionField = value;
this.RaisePropertyChanged("Version");
}
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ServiceModel.ServiceContractAttribute(ConfigurationName="AdminService.IAdminService")]
public interface IAdminService {
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAdminService/DeployPatch", ReplyAction="http://tempuri.org/IAdminService/DeployPatchResponse")]
void DeployPatch(BetterPatchFileCreator.AdminService.PatchFileInfo info);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAdminService/BannByUsername", ReplyAction="http://tempuri.org/IAdminService/BannByUsernameResponse")]
void BannByUsername(string username);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAdminService/BannByCharacterName", ReplyAction="http://tempuri.org/IAdminService/BannByCharacterNameResponse")]
void BannByCharacterName(string characterName);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAdminService/BannMac", ReplyAction="http://tempuri.org/IAdminService/BannMacResponse")]
void BannMac(string mac);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAdminService/SetHashes", ReplyAction="http://tempuri.org/IAdminService/SetHashesResponse")]
void SetHashes(string hashes);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAdminService/WhitelistUser", ReplyAction="http://tempuri.org/IAdminService/WhitelistUserResponse")]
void WhitelistUser(string username);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAdminService/BlacklistUser", ReplyAction="http://tempuri.org/IAdminService/BlacklistUserResponse")]
void BlacklistUser(string username);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAdminService/UnWhitelistUser", ReplyAction="http://tempuri.org/IAdminService/UnWhitelistUserResponse")]
void UnWhitelistUser(string username);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAdminService/UnBlacklistUser", ReplyAction="http://tempuri.org/IAdminService/UnBlacklistUserResponse")]
void UnBlacklistUser(string username);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAdminService/RestUserMacs", ReplyAction="http://tempuri.org/IAdminService/RestUserMacsResponse")]
void RestUserMacs(string username);
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public interface IAdminServiceChannel : BetterPatchFileCreator.AdminService.IAdminService, System.ServiceModel.IClientChannel {
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public partial class AdminServiceClient : System.ServiceModel.ClientBase, BetterPatchFileCreator.AdminService.IAdminService {
public AdminServiceClient() {
}
public AdminServiceClient(string endpointConfigurationName) :
base(endpointConfigurationName) {
}
public AdminServiceClient(string endpointConfigurationName, string remoteAddress) :
base(endpointConfigurationName, remoteAddress) {
}
public AdminServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base(endpointConfigurationName, remoteAddress) {
}
public AdminServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base(binding, remoteAddress) {
}
public void DeployPatch(BetterPatchFileCreator.AdminService.PatchFileInfo info) {
base.Channel.DeployPatch(info);
}
public void BannByUsername(string username) {
base.Channel.BannByUsername(username);
}
public void BannByCharacterName(string characterName) {
base.Channel.BannByCharacterName(characterName);
}
public void BannMac(string mac) {
base.Channel.BannMac(mac);
}
public void SetHashes(string hashes) {
base.Channel.SetHashes(hashes);
}
public void WhitelistUser(string username) {
base.Channel.WhitelistUser(username);
}
public void BlacklistUser(string username) {
base.Channel.BlacklistUser(username);
}
public void UnWhitelistUser(string username) {
base.Channel.UnWhitelistUser(username);
}
public void UnBlacklistUser(string username) {
base.Channel.UnBlacklistUser(username);
}
public void RestUserMacs(string username) {
base.Channel.RestUserMacs(username);
}
}
}