Skip to content

Commit 194dcc8

Browse files
committed
Add InternalsVisibleTo for WPF and Lemutec assemblies
Granted internal visibility to 'RemoteViewing.WPF', 'Lemutec.RemoteViewing.Windows.Forms', and 'Lemutec.RemoteViewing.WPF' assemblies. This allows these assemblies to access internal members of the core library.
1 parent 03e480a commit 194dcc8

5 files changed

Lines changed: 22 additions & 15 deletions

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
It supports Raw, Hextile, Copyrect, and Zlib encodings, and includes a Windows Forms and WPF control to make embedding VNC in your program extremely easy.
1313
</p>
1414

15+
<p align="center">
16+
<a href="https://github.com/lemutec/RemoteViewing/actions/workflows/library.nuget.yml"><img src="https://github.com/lemutec/RemoteViewing/actions/workflows/library.nuget.yml/badge.svg" alt="Actions"></a>
17+
</p>
18+
1519
<p align="center">
1620
<a href="#-features">✨ Features</a> •
1721
<a href="#-installation">📦 Installation</a> •

RemoteViewing.ServerExample/Properties/AssemblyInfo.cs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
#region License
2+
23
/*
34
RemoteViewing VNC Client/Server Library for .NET
45
Copyright (c) 2013, 2025 James F. Bellinger <http://software.seekye.com/remoteviewing>
56
All rights reserved.
67
78
Redistribution and use in source and binary forms, with or without
8-
modification, are permitted provided that the following conditions are met:
9+
modification, are permitted provided that the following conditions are met:
910
1011
1. Redistributions of source code must retain the above copyright notice, this
11-
list of conditions and the following disclaimer.
12+
list of conditions and the following disclaimer.
1213
2. Redistributions in binary form must reproduce the above copyright notice,
1314
this list of conditions and the following disclaimer in the documentation
14-
and/or other materials provided with the distribution.
15+
and/or other materials provided with the distribution.
1516
1617
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
1718
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
@@ -24,6 +25,7 @@ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
2425
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
2526
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2627
*/
28+
2729
#endregion
2830

2931
using System.Reflection;
@@ -33,6 +35,5 @@ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
3335
[assembly: AssemblyDescription("C# VNC server example")]
3436
[assembly: AssemblyProduct("RemoteViewing")]
3537
[assembly: AssemblyTitle("RemoteViewing.ServerExample")]
36-
3738
[assembly: ComVisible(false)]
3839
[assembly: Guid("030506a8-328e-47fd-b9b5-b0e7207c2ac9")]

RemoteViewing.WPF.Example/Properties/AssemblyInfo.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,5 @@ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
3535
[assembly: AssemblyDescription("C# VNC client example for WPF")]
3636
[assembly: AssemblyProduct("RemoteViewing")]
3737
[assembly: AssemblyTitle("RemoteViewing.WPF.Example")]
38-
3938
[assembly: ComVisible(false)]
4039
[assembly: Guid("6e032d64-c2f6-48b3-c7d9-098371f07f41")]

RemoteViewing.Windows.Forms.Example/Properties/AssemblyInfo.cs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
#region License
2+
23
/*
34
RemoteViewing VNC Client/Server Library for .NET
45
Copyright (c) 2013 James F. Bellinger <http://software.seekye.com/remoteviewing>
56
All rights reserved.
67
78
Redistribution and use in source and binary forms, with or without
8-
modification, are permitted provided that the following conditions are met:
9+
modification, are permitted provided that the following conditions are met:
910
1011
1. Redistributions of source code must retain the above copyright notice, this
11-
list of conditions and the following disclaimer.
12+
list of conditions and the following disclaimer.
1213
2. Redistributions in binary form must reproduce the above copyright notice,
1314
this list of conditions and the following disclaimer in the documentation
14-
and/or other materials provided with the distribution.
15+
and/or other materials provided with the distribution.
1516
1617
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
1718
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
@@ -24,6 +25,7 @@ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
2425
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
2526
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2627
*/
28+
2729
#endregion
2830

2931
using System.Reflection;
@@ -33,6 +35,5 @@ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
3335
[assembly: AssemblyDescription("C# VNC client example")]
3436
[assembly: AssemblyProduct("RemoteViewing")]
3537
[assembly: AssemblyTitle("RemoteViewing.Example")]
36-
3738
[assembly: ComVisible(false)]
3839
[assembly: Guid("de921d53-b702-454b-a2a4-b76872f03892")]

RemoteViewing/Properties/AssemblyInfo.cs

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
#region License
2+
23
/*
34
RemoteViewing VNC Client/Server Library for .NET
45
Copyright (c) 2013, 2016, 2018, 2025 James F. Bellinger <http://software.seekye.com/remoteviewing>
56
All rights reserved.
67
78
Redistribution and use in source and binary forms, with or without
8-
modification, are permitted provided that the following conditions are met:
9+
modification, are permitted provided that the following conditions are met:
910
1011
1. Redistributions of source code must retain the above copyright notice, this
11-
list of conditions and the following disclaimer.
12+
list of conditions and the following disclaimer.
1213
2. Redistributions in binary form must reproduce the above copyright notice,
1314
this list of conditions and the following disclaimer in the documentation
14-
and/or other materials provided with the distribution.
15+
and/or other materials provided with the distribution.
1516
1617
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
1718
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
@@ -24,6 +25,7 @@ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
2425
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
2526
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2627
*/
28+
2729
#endregion
2830

2931
using System;
@@ -37,10 +39,10 @@ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
3739
[assembly: AssemblyTitle("RemoteViewing")]
3840
[assembly: AssemblyFileVersion("1.1.0.0")]
3941
[assembly: AssemblyVersion("1.1.0.0")]
40-
4142
[assembly: CLSCompliant(true)]
4243
[assembly: ComVisible(false)]
4344
[assembly: Guid("bd19082b-d2a8-46fd-b50f-a7fe0379ed3c")]
44-
4545
[assembly: InternalsVisibleTo("RemoteViewing.Windows.Forms")]
46-
46+
[assembly: InternalsVisibleTo("RemoteViewing.WPF")]
47+
[assembly: InternalsVisibleTo("Lemutec.RemoteViewing.Windows.Forms")]
48+
[assembly: InternalsVisibleTo("Lemutec.RemoteViewing.WPF")]

0 commit comments

Comments
 (0)