qol: formatting
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
using System;
|
||||
using Disco.Client.Extensions;
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Net;
|
||||
using System.Reflection;
|
||||
using Disco.Client.Extensions;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace Disco.Client
|
||||
{
|
||||
|
||||
@@ -8,13 +8,13 @@ namespace Disco.Client.Extensions
|
||||
{
|
||||
public static class ClientServicesExtensions
|
||||
{
|
||||
//#if DEBUG
|
||||
// public const string ServicePathAuthenticatedTemplate = "http://WS-GSHARP:57252/Services/Client/Authenticated/{0}";
|
||||
// public const string ServicePathUnauthenticatedTemplate = "http://WS-GSHARP:57252/Services/Client/Unauthenticated/{0}";
|
||||
//#else
|
||||
//#if DEBUG
|
||||
// public const string ServicePathAuthenticatedTemplate = "http://WS-GSHARP:57252/Services/Client/Authenticated/{0}";
|
||||
// public const string ServicePathUnauthenticatedTemplate = "http://WS-GSHARP:57252/Services/Client/Unauthenticated/{0}";
|
||||
//#else
|
||||
public const string ServicePathAuthenticatedTemplate = "http://DISCO:9292/Services/Client/Authenticated/{0}";
|
||||
public const string ServicePathUnauthenticatedTemplate = "http://DISCO:9292/Services/Client/Unauthenticated/{0}";
|
||||
//#endif
|
||||
//#endif
|
||||
|
||||
public static ResponseType Post<ResponseType>(this ServiceBase<ResponseType> Service, bool Authenticated)
|
||||
{
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
using System.Text;
|
||||
using Disco.Models.ClientServices;
|
||||
using Disco.Models.ClientServices;
|
||||
using System.Text;
|
||||
|
||||
namespace Disco.Client.Extensions
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace Disco.Client.Interop.Native
|
||||
/// The number of wireless profile entries in the ProfileInfo member.
|
||||
/// </summary>
|
||||
public uint dwNumberOfItems;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// The index of the current item. The index of the first item is 0. The dwIndex member must be less than the dwNumberOfItems member.
|
||||
/// This member is not used by the wireless service. Applications can use this member when processing individual profiles in the
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace Disco.Client.Interop
|
||||
|
||||
return adapters;
|
||||
}
|
||||
|
||||
|
||||
private static List<NetworkAdapter> GetWmiNetworkAdapters()
|
||||
{
|
||||
try
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
using System;
|
||||
using Disco.Client.Extensions;
|
||||
using Disco.Client.Interop;
|
||||
using System;
|
||||
using System.Reflection;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
using Disco.Client.Extensions;
|
||||
using Disco.Client.Interop;
|
||||
|
||||
namespace Disco.Client
|
||||
{
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
using System;
|
||||
using Disco.Client.Extensions;
|
||||
using Disco.Models.ClientServices;
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
using Disco.Models.ClientServices;
|
||||
using Disco.Client.Extensions;
|
||||
|
||||
namespace Disco.Client
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user