Files
2022-02-13 15:41:58 +00:00

108 lines
2.1 KiB
C#

// 32feet.NET - Personal Area Networking for .NET
//
// InTheHand.Net.Sockets.BluetoothClient (.NET Standard)
//
// Copyright (c) 2018-2022 In The Hand Ltd, All rights reserved.
// This source code is licensed under the MIT License
using System;
using System.Collections.Generic;
using System.Net.Sockets;
namespace InTheHand.Net.Sockets
{
partial class BluetoothClient
{
private void PlatformInitialize()
{
throw Exceptions.GetNotImplementedException();
}
IEnumerable<BluetoothDeviceInfo> GetPairedDevices()
{
yield break;
}
IReadOnlyCollection<BluetoothDeviceInfo> PlatformDiscoverDevices(int maxDevices)
{
List<BluetoothDeviceInfo> devices = new List<BluetoothDeviceInfo>();
return devices.AsReadOnly();
}
void PlatformConnect(BluetoothAddress address, Guid service)
{
}
void PlatformClose()
{
}
bool GetAuthenticate()
{
return false;
}
void SetAuthenticate(bool value)
{
}
Socket GetClient()
{
return null;
}
bool GetConnected()
{
return false;
}
bool GetEncrypt()
{
return false;
}
void SetEncrypt(bool value)
{
}
TimeSpan GetInquiryLength()
{
return TimeSpan.Zero;
}
void SetInquiryLength(TimeSpan length)
{
}
public string GetRemoteMachineName()
{
return string.Empty;
}
NetworkStream PlatformGetStream()
{
return null;
}
#region IDisposable Support
private bool disposedValue = false; // To detect redundant calls
void Dispose(bool disposing)
{
if (!disposedValue)
{
if (disposing)
{
}
disposedValue = true;
}
}
// This code added to correctly implement the disposable pattern.
#endregion
}
}