SharpCaster 1.1.16

There is a newer version of this package available.
See the version list below for details.
dotnet add package SharpCaster --version 1.1.16                
NuGet\Install-Package SharpCaster -Version 1.1.16                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SharpCaster" Version="1.1.16" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SharpCaster --version 1.1.16                
#r "nuget: SharpCaster, 1.1.16"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install SharpCaster as a Cake Addin
#addin nuget:?package=SharpCaster&version=1.1.16

// Install SharpCaster as a Cake Tool
#tool nuget:?package=SharpCaster&version=1.1.16                

Icon

SharpCaster

Currently Supported Platforms

.NET

SharpCaster is Chromecast C# SDK any platform support .net standard 2.0.

The nuget package NuGet Status

https://nuget.org/packages/SharpCaster/

PM> Install-Package SharpCaster

Getting started

Finding chromecast devices from network

IChromecastLocator locator = new MdnsChromecastLocator();
var chromecasts = await locator.FindReceiversAsync();
//If that does not return devices on desktop then you can use this, Where 192.168.1.2 is your machines local ip
var chromecasts = await locator.FindReceiversAsync("192.168.1.2");

Connecting to chromecast device, launch application and load media

var chromecast = chromecasts.First();
var client = new ChromecastClient();
await client.ConnectChromecast(chromecast);
_ = await client.LaunchApplicationAsync("B3419EF5");

var media = new Media
{
	ContentUrl = "https://commondatastorage.googleapis.com/gtv-videos-bucket/CastVideos/mp4/DesigningForGoogleCast.mp4"
};
_ = await client.GetChannel<IMediaChannel>().LoadAsync(media);

SharpCaster Demo

SharpCaster Simple demo

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on SharpCaster:

Package Downloads
SharpCaster.Console

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.2.2 144 8/30/2024
1.2.1 137 8/12/2024
1.2.1-alpha 95 8/12/2024
1.2.0 129 7/21/2024
1.1.18 102 7/20/2024
1.1.17 87 7/18/2024
1.1.16 83 7/18/2024
1.1.15 85 7/18/2024
1.1.14 91 7/16/2024
1.1.3 118 7/15/2024
1.1.2 101 7/8/2024
1.1.1 98 7/3/2024
1.1.0 81 7/3/2024
1.0.8 1,668 2/27/2023
1.0.7 787 2/27/2023
1.0.6 837 2/8/2023
1.0.5 1,464 5/2/2022
1.0.4 1,195 3/29/2022
1.0.3 1,212 2/18/2022
1.0.0 1,064 2/12/2022 1.0.0 is deprecated because it has critical bugs.
0.4.0 6,875 5/21/2017
0.4.0-pre 1,377 5/21/2017
0.3.5 1,711 4/1/2017
0.3.5-pre 1,350 1/23/2017
0.3.4 1,697 1/11/2017
0.3.4-pre 1,402 1/11/2017
0.3.3-pre 1,392 1/1/2017
0.3.2 1,740 11/25/2016
0.3.1 1,701 9/30/2016
0.3.1-pre 1,343 9/30/2016
0.3.0 1,624 9/8/2016
0.3.0-pre 1,344 9/8/2016
0.2.0-pre 1,424 8/31/2016
0.1.7-pre2 1,372 8/18/2016
0.1.7-pre 1,392 8/14/2016
0.1.6 1,641 8/2/2016
0.1.5 1,646 6/2/2016
0.1.4 1,653 3/22/2016
0.1.3 1,625 3/9/2016
0.1.2 1,578 3/4/2016
0.1.1 1,792 2/13/2016
0.0.0 108 8/12/2024